Programmatically add an existing task assignment to resource timesheet

hello forum members,
I am working on code that creates tasks for a project, assigns resources to task and then adds that tasks to resources timesheets so that they could log time against it. 
Can you anyone recommend any code samples or link references on how to add an existing task assignment to a resource timesheet?
tatiana
tatiana

Hi Tatiana,
Check following code sample (PSI):
WebSvcTimeSheet.TimesheetDataSet dsTimeSheet = SvcTimeSheet.ReadTimeSheet(<TimesheetUID>);
WebSvcTimeSheet.TimesheetDataSet.LinesRow newLine = dsTimeSheet.Lines.NewLinesRow();
newLine.TS_LINE_UID = Guid.NewGuid();
newLine.TS_UID = <TimesheetUID>;
newLine.TS_LINE_CLASS_UID = TimesheetConst.const_StandardLineClassGuid;
newLine.TS_LINE_VALIDATION_TYPE = (byte)TimesheetEnum.ValidationType.Unverified;
newLine.TS_LINE_STATUS = (byte)TimesheetEnum.LineStatus.Approved;
newLine.PROJ_UID = <ProjectUID>;
newLine.TASK_UID = <TaskUID>;
newLine.TS_LINE_CACHED_ASSIGN_NAME = <Task Name>;
newLine.TS_LINE_CACHED_PROJ_NAME = <PROJ NAME>;
newLine.SetTS_LINE_COMMENTNull();
dsTimeSheet.Lines.AddLinesRow(newLine);
SvcTimeSheet.PrepareTimesheetLine(<TimesheetUID>, ref dsTimeSheet, new[] { newLine.TS_LINE_UID });
Guid jobUid = Guid.NewGuid();
SvcTimeSheet.QueueUpdateTimesheet(jobUid, <TimesheetUID>, dsTimeSheet);
Make sure you have the Microsoft.Office.Project.Server.Library referenced in your project.
Hope this helps

Similar Messages

  • Timesheet could not add task from existing project task assignment

    HI there,
    I tried to add a task in Timesheet (PWA2013) from an existing assignment. However, there is no task listed under the project when I open the dialog "Add an existing task". It only shows me the project name, I click it, nothing under the project.
    Due to this issue, I could not add any existing task into the timesheet.Please look at the screenshot. The "test project" is the project name, while no  any task under this project.
    Any help is appreciated!
    Cindy

    Hi Cindy,
    Indeed if you cannot access the server setting from the quick launch menu in the left part of PWA, you have to request administrator rights to your admin.
    I would add an important comment : in PWA2013, the "close to update" PWA2010 feature no longer exists and has been replace by the "lock" feature, which works basically the same.
    To unlock tasks in PWA2013,
    go to server setting, manage views,
    choose a project view,
    insert the "lock" column,
    go to the project center,
    check out your project schedule,
    select the view you just modified,
    change the value in the lock field for the given task,
    publish the project
    Read this post here: http://social.technet.microsoft.com/Forums/projectserver/en-US/28d4914d-5a80-4638-8153-94155a7d43fe/locked-feature-not-working-in-pwa-2013?forum=projectserver2010general
    And this article: http://epmsource.com/2012/10/31/where-has-close-tasks-to-update-gone-in-project-server-2013/
    Then it should be ok.
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • PWA 2013 "Add a new task" - inconsistent task insertion behavior

    Hi all!
    New to the forum and wondering if anyone out there has insight into what I've encountered with the "Add a new task" feature in on-prem Project Server 2013.  
    First some context... I am setting up 12-month projects for different teams to forecast and log their administrative and reactive time for the year.
     We are tracking this within enterprise projects.  The projects have a series of summary tasks that serve to categorize work.  There is a placeholder task within each summary task that establishes duration and where we may assign generic resources
    to establish a baseline cost for the 12 month period for that category of work.  The vision is for team members to go to their PWA Tasks list, "Add a new task", select the project and the summary task to categorize and add their new task to
    the project, enter the task information, and submit for approval.  
    My issue appears when the Project Manager approves a task and opens the project in Project Professional because the system appears to exhibit inconsistent
    behavior - Scenario 1 vs Scenario 2 below.  
    Scenario 1 – Project structure prior
    to adding a new task:
    Project Summary Task, 260d
    -Summary Task, 260d
    --Placeholder Task, 260d, generic resources assigned, ID=n
    -Summary Task, 260d
    Team member adds a new task and submits.  The new task is inserted as a child task to the summary task selected when adding
    the new task.  This is what PWA Approval Preview shows and what is found when file is opened in Project Professional:
    Project Summary Task, 260d?
    -Summary Task, 260d?
    --New task just added, 2d?, named resource assigned, ID=n
    --Placeholder Task, 260d, generic resources assigned, ID=n+1
    -Summary Task, 260d
    Scenario 2 – Same project structure as scenario 1... team member submits a new task
    and the new task is inserted per below.  This is NOT what PWA Approval Preview shows.  PWA shows the new task as a child of the summary task.  Once approved and the file is opened in Project Professional, the task instead reflects as a child
    task to the placeholder task, and impacts the duration of the original summary task:
    Project Summary Task, 260d?
    -Summary Task, 2d?
    --Placeholder Task, 2d?, generic resource assignments, ID=n
    ---New task just added, 2d?, named resource assigned, ID=n+1
    -Summary Task, 260d
    I am using separate project files to produce the scenario, and as far as I can tell they are set up exactly the same, but one file consistently produces
    scenario 2 behavior and the other consistently produces scenario 1 behavior. It seems that something is different between the two files and causing the issue, but I can't figure out what it is.  
    Any idea what I could do to establish consistent (preferably Scenario 1) task insertion behavior from PWA?

    Anyone else running into this?  We're now on the April CU and still experiencing this apparent bug.  I've replicated it in different PWA instances using "Add a new task" from both the timesheet and tasks.  
    It only happens on certain projects as Greg mentioned... One way we've been able to pinpoint where it's taking place:  since the bug causes a task to become a summary task, and since most of our tasks have assignments, if a project contains any summary
    tasks with assignments, those may be an early indicator of the bug (after we rule out PM-induced summary task assignments).  
    We're seeing this impact our project actuals and reports, so there is a fair amount of going back through approval history and restoring actual hours to the correct calendar dates in the Project Client.  Not ideal, because we are planning to lock that
    capability down in the near future.
    On a whim, I tried using the "Save for sharing" method to fix the issue, and new tasks appeared to insert correctly after that.  Seems OK for a workaround (we'll see how durable it is), but better yet would be consistent new task insertion
    behavior.

  • Add JavaScript file to ALL existing Task List pages and to newly created list pages

    We have several OOTB task lists that are in use on several subsites.  We want to add JavaScript to the NewForm.aspx and EditForm.aspx for these task lists. These lists have not been customized, they are based on the standard Task Content Type.
    Since there are several lists already created and in use, it would be far too much work to manually add a Content Editor web part to each page.
    We put the JavaScript file in the top-level site style library.
    Is there a way to programmatically attach a script reference to each existing page in all the subsites AND have the script reference placed on any NEW list pages created from the OOTB Task content type? Or, add a CEWP to all existing list pages using a feature?
    I could not find any examples of this.

    Hi,
    A solution would be like this: Add your script into a Content Editor Web Part in a page, then add this Content Editor Web Part into the NewForm page of these Task lists using
    SharePoint Object Model.
    More information:
    Use
    SPList.Forms property to retrieve the URLs of the specific form of these Task lists:
    http://sharepointcore.blogspot.com/2011/08/sharepoint-listitem-new-edit-and.html
    With
    SPLimitedWebPartManager object, we can retrieve the web parts of a page, choose one and add into another
    page:
    SPLimitedWebPartManager.WebParts
    property
    SPLimitedWebPartManager.AddWebPart
    Another two links about this for your reference:
    http://www.stefangordon.com/add-web-part-to-page-programmatically/
    http://sharepoint.stackexchange.com/questions/9442/how-to-programmatically-add-a-webpart-to-a-page
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they
    help and unmark them if they provide no help. If you have feedback for TechNet
    Subscriber Support, contact [email protected]
    Patrick Liang
    TechNet Community Support

  • How do I add a step to run at the beginning of an existing task sequence?

    I need a way to add a step to run at the beginning of an existing task sequence like you see up above. We need to do so to all task sequences that install software in our environment. I understand PowerShell very well but, I am not sure of how I would modify
    (if possible) an existing task sequence, let alone add a step to the beginning.
    This is super important and would most appreciated for any help. Thanks! :)
    http://i61.tinypic.com/2nlv8zb.png

    I understand how to perform the above action. I need to have that in a PowerShell script. I need to insert a "Install Package" step at the top of all 900+ task sequences with a specific package. I am good with PowerShell, just not that good.
    ActionInProgress : 1
    AlternateContentProviders :
    BootImageID :
    Category :
    CustomProgressMsg :
    DependentProgram :
    Description : ML - 1/5/15
    Duration : 360
    ExtendedData :
    ExtendedDataSize : 0
    ForcedDisconnectDelay : 5
    ForcedDisconnectEnabled : False
    ForcedDisconnectNumRetries : 2
    Icon :
    IconSize : 0
    IgnoreAddressSchedule : False
    ISVData :
    ISVDataSize : 0
    IsVersionCompatible :
    Language :
    LastRefreshTime : 2/16/2015 10:18:25 AM
    LocalizedCategoryInstanceNames :
    Manufacturer :
    MIFFilename :
    MIFName :
    MIFPublisher :
    MIFVersion :
    Name : TS: Adobe_ReaderXI_11.0.10_R01-Install
    NumOfPrograms :
    PackageID : P12005DB
    PackageSize :
    PackageType : 4
    PkgFlags : 0
    PkgSourceFlag : 1
    PkgSourcePath :
    PreferredAddressType :
    Priority : 2
    ProgramFlags : 152084496
    References : {
    instance of SMS_TaskSequence_Reference
    Package = "P1200541";
    Program = "Adobe_Cleaner_9_R01";
    Type = 0;
    instance of SMS_TaskSequence_Reference
    Package = "P1200542";
    Program = "Adobe_Cleaner_10_R01";
    Type = 0;
    instance of SMS_TaskSequence_Reference
    Package = "P1200598";
    Program = "*";
    Type = 0;
    instance of SMS_TaskSequence_Reference
    Package = "ScopeId_5E2F018E-6A55-4DF6-BC64-43B2E205E619/Application_d5c1b17b-12e1-
    4ad6-9916-72fdefc834b8";
    Program = "";
    Type = 1;
    ReferencesCount : 4
    RefreshPkgSourceFlag : False
    RefreshSchedule :
    Reserved :
    SecuredScopeNames : {Default}
    SedoObjectVersion : EF958AC5-D6E3-460E-A666-6A8CAF4AEB8C
    Sequence : <sequence version="3.00"><referenceList><reference package="P1200598"/><reference
    package="P1200541" program="Adobe_Cleaner_9_R01"/><reference package="P1200542"
    program="Adobe_Cleaner_10_R01"/><reference application="ScopeId_5E2F018E-6A55-4DF6-BC6
    4-43B2E205E619/Application_d5c1b17b-12e1-4ad6-9916-72fdefc834b8"/></referenceList><ste
    p type="SMS_TaskSequence_RunPowerShellScriptAction" name="SDLSetupWait"
    description="ML - 2/16/15" runIn="WinPEandFullOS" successCodeList="0" runFromNet="fals
    e"><action>OSDRunPowerShellScript.exe</action><defaultVarList><variable
    name="OSDRunPowerShellScriptExecutionPolicy"
    property="ExecutionPolicy">Bypass</variable><variable
    name="OSDRunPowerShellScriptPackageID"
    property="PackageID">P1200598</variable><variable
    name="OSDRunPowerShellScriptParameters" property="Parameters"></variable><variable
    name="OSDRunPowerShellScriptScriptName"
    property="ScriptName">SDLSetupWait.ps1</variable></defaultVarList></step><step
    type="SMS_TaskSequence_InstallSoftwareAction" name="Purge Adobe 9.x -"
    description="ML - 1/5/15" runIn="FullOS" successCodeList="0"
    runFromNet="false"><action>smsswd.exe /pkg:P1200541 /install /basevar:
    /continueOnError:</action><defaultVarList><variable name="PackageID"
    property="PackageID" hidden="true">P1200541</variable><variable
    name="_SMSSWDProgramName"
    property="ProgramName">Adobe_Cleaner_9_R01</variable></defaultVarList></step><step
    type="SMS_TaskSequence_InstallSoftwareAction" name="Purge Adobe 10.x+"
    description="ML - 1/5/15" runIn="FullOS" successCodeList="0"
    runFromNet="false"><action>smsswd.exe /pkg:P1200542 /install /basevar:
    /continueOnError:</action><defaultVarList><variable name="PackageID"
    property="PackageID" hidden="true">P1200542</variable><variable
    name="_SMSSWDProgramName"
    property="ProgramName">Adobe_Cleaner_10_R01</variable></defaultVarList></step><step
    type="SMS_TaskSequence_InstallApplicationAction" name="TS:
    Adobe_ReaderXI_11.0.10_R01-Install" description="ML - 1/5/15" runIn="FullOS"
    successCodeList="0" runFromNet="false"><action>smsappinstall.exe /app:ScopeId_5E2F018E
    -6A55-4DF6-BC64-43B2E205E619/Application_d5c1b17b-12e1-4ad6-9916-72fdefc834b8
    /basevar: /continueOnError:False</action><defaultVarList><variable name="OSDApp"
    property="AppInfo" hidden="true">1</variable><variable name="OSDApp0Description"
    property="AppInfo0Description">Valid</variable><variable name="OSDApp0DisplayName"
    property="AppInfo0DisplayName">Adobe_ReaderXI_11.0.10_R01</variable><variable
    name="OSDApp0Name" property="AppInfo0Name">ScopeId_5E2F018E-6A55-4DF6-BC64-43B2E205E61
    9/Application_d5c1b17b-12e1-4ad6-9916-72fdefc834b8</variable><variable
    name="ApplicationName" property="ApplicationName" hidden="true">ScopeId_5E2F018E-6A55-
    4DF6-BC64-43B2E205E619/Application_d5c1b17b-12e1-4ad6-9916-72fdefc834b8</variable><var
    iable name="ContinueOnInstallError" property="ContinueOnInstallError"
    hidden="true">false</variable><variable name="OSDAppCount"
    property="NumApps">1</variable></defaultVarList></step><step
    type="SMS_TaskSequence_RunCommandLineAction" name="Change Reg Key" description="ML -
    1/5/15" runIn="WinPEandFullOS" successCodeList="0 3010"
    runFromNet="false"><action>smsswd.exe /run: reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classe
    s\Installer\Products\68AB67CA7DA73301B744BA0000000010 /v ProductName /d
    Adobe_ReaderXI_11.0.10_R01 /F</action><defaultVarList><variable name="CommandLine"
    property="CommandLine" hidden="true">reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Insta
    ller\Products\68AB67CA7DA73301B744BA0000000010 /v ProductName /d
    Adobe_ReaderXI_11.0.10_R01 /F</variable><variable name="SMSTSDisableWow64Redirection"
    property="DisableWow64Redirection">false</variable><variable
    name="_SMSTSRunCommandLineAsUser" property="RunAsUser">false</variable><variable
    name="SuccessCodes" property="SuccessCodes" hidden="true">0
    3010</variable></defaultVarList></step></sequence>
    ShareName :
    ShareType : 1
    SourceDate : 1/5/2015 10:14:08 AM
    SourceSite : P12
    SourceVersion : 1
    StoredPkgPath :
    StoredPkgVersion : 1
    SupportedOperatingSystems : {}
    TaskSequenceFlags : 0
    Type : 1
    Version :

  • What  is difference btw project Assignment, Resource Assignment and task Assignment.

    Hi,
    I am new project accounting Module .
    what  is difference btw project Assignment, Resource Assignment and task Assignment.

    Project Assignment, Resource Assignment refers to the resource management part and Task assignment is basically the work assignment to the resource.
    An assignment/requirement is created in PJR for create demand for the resource requirement of the project and when the resource is aligned he can be assigned to the task in the work plan.
    Refers to the top down approach in this case.
    Additionally a resource can be assigned to the work plan and a assignment can be created to get the resource allocated to the project.
    Refers to the bottom up approach in this case

  • OIM 11gR1: Add a Task to a Resource Object

    Hello
    I have added a new process task to a Resource Object. Task name is "Change Unique Value" on the RO. I'd like to programatically add this task to all users where the RO is either "Enabled" or "Provisioned"
    I cannot seem to find an 11g API that allow me to find all resources provisioned to a user, and then find all available tasks, and add it.
    Can someone please point me to the API that will allow me to add a task to an RO?
    Thank you.

    tcProvisioningOperationsIntf.addProcessTaskInstance(long plTaskKey, long plOrcKey)
    Run this query for the task key:
    select mil_key from mil where mil_name = 'Change Unique Value'
    Then run the query to get the orc_key
    select oiu.orc_key
    from oiu, ost, obj, obi
    where oiu.ost_key=ost.ost_key
    and oiu.obi_key=obi.obi_key
    and obi.obj_key=obj.obj_key
    and obj.obj_name = :resourceName
    and ost.ost_status in ('Provisioned','Enabled'))
    Then use this code and put a comma seperated value of the orc_key output.
    public void addProcessTask(){
    long[] keys = new long[] {<COMMA_SEPERATED_ORC_KEY};
    int counter = 0;
    for (long key:keys){
    try {
    counter++;
    provIntf.addProcessTaskInstance(<MIL_KEY FROM ABOVE>, key);
    System.out.println(counter + "|" + keys.length);
    } catch (Exception e) {
    System.out.println(e.getLocalizedMessage());
    System.out.println(e.getMessage());
    Verify with one user first, then run the rest. It uses the tcProvisioningOperationsIntf.
    -Kevin

  • Role - Resource - Task Assignment

    All,
    We have a requirement where a cProjects task may spread along for, say, 6 months. Resource needs to work on this task for only 2 days per month, every month (say) (Work - 12 days).
    When the role is staffed for 6 months, this resource will not be available for the other projects. And therefore, we want the resource assignment to the task to drive his availability.
    Is there a way out? Or do we have to staff the role 6 times (with the right dates)? The second option works, I know, but is not an elegant way to do it.
    Thoughts/opinions.
    Regards.

    Thanks Niranjan for your attempt.
    The business isn't quite liking the idea of doing so much when a resource is supposed to be working on the task 2days/month. For every time that the resource is to work, the cProjects user would have to staff to the role (or create a role, as you suggested). Everytime, the dates have to be mnaully entered for staffing, Project Role, Resource to task assignment and so on.
    They want this to be done at one place and would like this data to reflect elsewhere. For e.g. when the resource is assigned to the task, this data should drive availability of the resource - is what they want.
    Let me know if I am missing on any of the obvious functionalities of cProjects resource management that I may try to resolve this issue.
    Thanks again.

  • Task types without resources assigned

    Hi,
    I hope someone can help me figure this out. May sound dumb, but hey, no harm in asking.
    Since task types, resources and effort driven option all tie in together, does it matter if using Fixed Units or Fixed Duration for tasks don't have resources assigned and are
    not effort driven? What difference will it make since 2 entities are not being used?
    FYI - Project tasks are currently as Fixed Units.
    Thanks

    Hi,
    As you well defined that all these parameters (Work, Work type, Units & Durations) are tied and formula too works based on the values in these fields. Duration = Work/Units so the moment you take off units from the formula you are taking off the calculation
    functionality (related to these parameters) of the tool and everything gets dependent on your manual inputs.
    Even though based on the value you manually enter in work or % complete your actual work and remaining work plus remaining durations etc. do get calculated, yet I would say assign the resources to reach out to factual calculations.
    Sapna Shukla

  • Assigning additional resource after the start of a task

    Hi, I'm new to MS Project so please be gentle with me.
    My scenario is this:
    I have 2 tasks, task 1 = 8 weeks, task 2 = 4 weeks
    I have resource 1 assigned to task 1
    I have resource 2 assigned to task 2
    I want to be able to assign resource 2 to task 1 once task 2 is complete effectively reducing the time taken for task 1 to 6 weeks - can anyone explain how I do this please? I am using Project 2010.
    Thank you.

    CTQPVZTH --
    Welcome to the fast-paced world of Microsoft Project, my friend.  No one is going to beat on your for being a newbie!  :)
    Assuming you have already assigned resource 1 to Task 1 and resource 2 to Task 2 at a Units value of 100% on each task, here is how to do what you seek:
    Apply the Gantt Chart view.
    Right-click anywhere in the Gantt Chart pane and select the Show Split item on the shortcut menu.
    In the Gantt Chart pane, select the Task 1 task.
    In the Task Form pane, select the resource 2 resource below the resource 1 resource.
    For the resource 2 resource, enter a Units value of 100% and then click the OK button in the Task Form pane.
    In the Task Form pane, change the Work value to 240h for resource 1 and to 80h for resource 2, and then click the OK button.  This should reduce the Duration value to 6w.
    That is the simple way to do what you want to do.  Hope this helps.
    Dale A. Howard [MVP]

  • How to get group key from a task assignment adapter

    Hi All,
    Senario:
    I have two groups, say G1 and G2.
    One Access policy, say P. (This access policy is associated with AD resource.)
    AD Resource Object R.
    I have defined an Approval process for Resource R.
    Access policy P is assigned to both Group G1 and G2.
    This Access Policy P is linked to Resource R
    According to above configuration,
    When I add User U1 to Group G1 ( or G2 ) through "Group Membership", Access Policy P is executed and the approval process which associate with the Resource R is executed.
    In my Approval process, I have a task assignment adapter.
    Within my adapter, I want to get the group key, which cause to fires this approval process. ( It may be G1's key or G2's key. )
    Could some one help me for this ?
    Regards,
    Thirlk
    Edited by: thirlk on Jun 28, 2009 10:55 PM

    See this thread
    Working on the same requirement.
    How to get the administrator group of a group from a approval process
    If you have any further question let me know.

  • Add a Human Task in BPEL but it shows as an Auto Task in BPA

    Hi, all,
    I create a BPMN flow in BPA and mapping to BPEL. And I add a Human Task in jDeveloper, and saved back to BPA server. But the problem is the updated BPMN flow shows that I added a Auto Task in BPA. Could you help me on that? Thanks in advance.
    Best Regards,
    Bill

    Hi Bill,
    Prefatory a quick intro on the basic idea of the BPA concept and a few personal recommendations. In general all changes on the control flow should be initiated top-down from the business process, which means your requirement becomes relevant only in certain cases. If the refinement of the BPEL process is going beyond the technical implementation, then the BPMN diagram itself needs to be corrected. That being said, in certain cases it may be sensible to make use of the improvement proposal feature (e.g. the IT developer recognizes the need of an additional service invocation, so that the control flow of the business process has to be refined).
    Referring to your issue these changes are displayed as Automated Activities (abstract) in the superior business process (in BPA). For this reason some activities require a different approach when it comes to accepting or rejecting by the business users. The description below provides an overview about how-to add activities in BPEL subsequently (as improvement proposals) and how they will be represented in the superior business process after synchronization (personal recommendations).
    Control flow
    Email, Fax, Pager, Pager, SMS, Voice+
    BPEL process (JDeveloper)+
    Encapsulate within a separate Abstract activity - choose a name, which helps to identify that this should be a Notification activity (define naming conventions in the conventions handbook).
    Business process (BP Architect)+
    By default represented as Automated Activity (abstract).
    Open the improvement proposal model and select the new activity. Go to Format/Representation and select 'Notification' in the Symbol-dropdown list - the object appearance changes.
    Important: double-click the new activity and specify all the required parameters. Share the blueprint with IT.
    Note: The attributes of the abstract Automated Activity still appear in the attributes view.
    Invoke+
    BPEL process (JDeveloper)+
    Encapsulate within Abstract activities.
    Business process (BP Architect)+
    If encapsulated within an existing scope in BPEL - not visible in the superior process.
    If encapsulated within an Abstract activity in BPEL - represented as Automated Activity (abstract).
    Human Task+
    BPEL process (JDeveloper)+
    Encapsulate with an a separate Abstract activity - choose a name, which helps to identify that this should be a Human Task activity (define naming conventions in the conventions handbook). Ignore the Switch activity that will be added below the Human Task.
    Business process (BP Architect)+
    By default represented as Automated Activity (abstract).
    Open the improvement proposal model and select the new activity. Go to Format/Representation and select 'Human Task' in the Symbol-dropdown list - the object appearance changes.
    Important: double-click the new activity and specify all the required parameters. Share the blueprint with IT.
    Note: The attributes of the abstract Automated Activity still appear in the attributes view.
    Receive, Reply+
    BPEL process (JDeveloper)+
    Encapsulate within Abstract activities.
    Business process (BP Architect)+
    If encapsulated within an existing scope in BPEL - not visible in the superior process.
    If encapsulated within an Abstract activity in BPEL - represented as Automated Activity (abstract).
    Decide+
    BPEL process (JDeveloper)+
    Add a new Abstract scope - choose a name, which helps to identify that this should be a Business Rule activity (define naming conventions in the conventions handbook). Place an Empty activity inside the scope.
    Business process (BP Architect)+
    By default represented as Automated Activity (abstract).
    Open the improvement proposal model and select the new activity. Go to Format/Representation and select 'Business rule function' in the Symbol-dropdown list - the object appearance does change.
    Important: double-click the new activity and specify all the required parameters. Share the blueprint with IT.
    Note: The attributes of the abstract Automated Activity still appear in the attributes view.
    Flow, Switch, Pick+
    BPEL process (JDeveloper)+
    Only new branches within existing activities can be added subsequently. Each branch should contain at least one Abstract activity.
    Business process (BP Architect)+
    New activities should be defined in the superior business process.
    Displayed as gateways (AND, XOR &lt;event-based&gt;, XOR &lt;data-type&gt;, OR) - the definition of these activities should be initiated in the business process.
    While+
    BPEL process (JDeveloper)+
    Only within existing scopes. Loops should be defined in the superior business process.
    Business process (BP Architect)+
    If not encapsulated within a scope in BPEL - will be represented as Automated Activity (abstract).
    If encapsulated within an existing scope in BPEL - not visible in the superior process after synchronization.
    If encapsulated within an Abstract in BPEL - will be represented as Automated Activity (abstract).
    Implementation
    Assign, Transform, Throw+
    BPEL process (JDeveloper)+
    Only within existing scopes.
    Business process (BP Architect)+
    Not visible.
    Wait, Terminate+
    BPEL process (JDeveloper)+
    Not recommended to add them subsequently - should be defined in the superior business process via Intermediate events (BPMN).
    Business process (BP Architect)+
    Displayed as intermediate event - the definition of these activities should be initiated in the business process.
    Kind regards,
    Danilo

  • Approval request to dynamic user --- task assignment adapter

    Hi All,
    I have a requirement.
    1. User will be requesting for AD Group Memership.
    2. The approval request should go to the owner of the AD group. (AD Group owner will have an OIM Account)
    is it possible to add custom "Target Type" in "Assignment" tab of Approval task?
    Assistance appreciated.
    Thanks & Regards
    Inbaa.

    Hi Thanks for the info. I have tried the approach.
    Task Assignment adapter has two adapter variables - "Adapter Return value for key" ( Type - Object) and "Adapter Return value for key type" ( Type - Object)
    1. I have added a task which invokes my custom java class method -- getApprover() - returns approver Name (User Id) -- String format -> I have mapped the output to adapter variable "KEY"
    2. I have added another task which invokes my custom java class method -- getApproverType() - returns statuc string "User" -- String format -> I have mapped the output to adapter variable "TYPE"
    I have attached this adapter to approval process with the mapping
    Variable -Adapter Return value for key & Adapter Return value for key Type
    Map To - Task Information
    Qualifier - Note
    When I request for the resource , the task assignment adapter assigns the approval request to the USER itself instead of the approver.  Anything I am missing here??
    Thanks & Regards
    Inbaa

  • SharePoint's role and its task assignment

    SharePoint's role and its task assignment list below:
    *Workflow
    *App
    *PowerShell
    *SharePoint migrering
    *Enterprise Content Managment
    *Business Intelligence
    *social business platform
    *SharePoint analyst
    *SharePoint Enterprise Search
    *Document management
    *SharePoint Cloud
    *SharePoint BDC (Business Data Catalog)
    What more am I missing that is important to add?
    Please remember that I'm a newbie in SharePoint 2013.

    I understand you have added ECM but I would also add Records Management, Machine Translation Service and Community Sites.
    If you want to add features then you should also include Office Web Apps, Cross Browser Support and Responsive Web Design.
    Amit

  • Task Assignment to Ggroup - Group Members Not Getting Email

    I have a process with an approval activity with initial user selection set to a group rather than a specific user. I want all selected users to receive an email notification that a new task awaits them. When I assign to a specific user, the custom email template is sent to the user. When I assign to a group, the group members don't get the task assignment email.
    How do I change that so that group members will receive email notification of task assignment?
    Thanks in advance!
    Eric

    One possible solution:
    You can use our Group Lookup component to get a comma-separated list of the emails of the members of the group. Then, in the step before the User>assignTask step, send the group an email. The only problem is that you won't be able to embed a link directly to the task, because the task doesn't exist yet.
    Doc: http://avoka.dnsalias.com/confluence/display/Public/Lookup+DSC
    Download: http://www.avoka.com/avoka/escomponents.shtml
    To work around this problem, you can use the technique outlined here:
    http://blogs.avoka.com/2008/10/20/customize-user-task-escalation-after-assignment/
    http://avoka.dnsalias.com/confluence/display/Public/Customize+User+Task+Escalation+After+A ssignment
    If you need more assistance, contact info-at-avoka.com
    Howard

Maybe you are looking for

  • Safari crash after 10.7.1 update

    Safari continues to cause problems to my entire system when viewing youtube or other web embedded video content. After installing the 10.7.1 update, I opened youtube and started a video, the player would rapidly stop, start, stop, start, the cursor w

  • BACKGROUN JOB Debugging

    How can i Debug background job.

  • Where we check the authorization group & authorization object?

    Hi all, i have a  std program & tcode  like fb03 . now i want to know the authorization group & authorization object. so where we will check..? help me. thanks. Vipin

  • Keynote on Macbook Pro Retina

    If you try to start Keynote in full Retina resolution (cancelling the "Open in Low Resolution" flag) the Keynote becomes unusable. The canvas is stretched, all the objects are misaligned - you simply can't work in the app anymore. Is thtere anything

  • Column Compare in Query

    Hi all I have four tables test1, test2 ,test3 & test4 i have Unique Common columns in test1, test2 ,test3 but i dont have common Column in test1, test4 But i have Uniqe Common Column in test3 & test4 Can i Write the Sql Query as Follows please Sugges