Role Assignment to Workflow Tasks

Hi Experts,
Any hints on below requirement please :
Details:
1. For a role in transaction PFCG, I don't see the Workflow tab
2. For the same role in transaction SUIM, I can see the Workflow tab and the tasks assigned.
3. Now, I have a list of workflow tasks and I need to assign Role X, Role Y to all of them
What is the correct and best way out to do this
- Role-Task Assignment ::: Is it enough if I add all the workflow tasks in SUIM transaction(workflow tab) for both roles X,Y
or
- Task-Role Assignment ::: Can I assign both Roles X,Y in pftc transaction for each of the workflow tasks
or
- Both need to be done
Thanks in advance ...
~Ali~

Hi Ali,
Answers for your questions:
1. Transfer Missing Elements: YES
     With this step, new elements will create in the task container based on the method container elements and creates the binding b/w them. It is better to choose YES and after that, if you dont require the binding, you can delete it for respective elements.
2. YES, we need to follow the same procedure.
3. Basically production system is having the mandatory configurations like RFC destinations and Classify tasks are general, probably no other activities are required.
4. For this, I am also waiting for other folks reply.
Regards,
Murali Krishna.

Similar Messages

  • Workflow 2013 Breaking Role Inheritance On Workflow Task list

    When breaking role inheritance on the out of the box Workflow Task List (2013), a custom workflow is suspended when assigning a task
    (System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. ).
    As soon as task list is inheriting permissions again, the workflow is able to assign tasks. (Similar issue: http://social.msdn.microsoft.com/Forums/en-US/8c60da76-8299-436c-8528-802fa5a594c3/2013-workflow-with-unique-permissions-on-task-list-ends-up-suspended).
    I have not found a solution to this issue so far.

    Same problem. Any solution found?
    in2brain

  • Agent assignment to workflow task

    Hi all,
    1) I have assigned a workflow(sub workflow) in a activity step in main workflow and assigned workflow task no ws99900258 in that step.i have tried to assign agents as general task.
    i couldn't do it.its showing that please place the cursor..some thing.
    Kindly let me know how to assign to a workflowid.
    2) in another workflow i am facing the problem is "mandatory import element(workflow container object(z_plm_sbc) is not explicitly provided".
    Kindly let me know how to rectify this error.
    Regards,
    Ramesh.

    Hi Ramesh,
    1. Open the workflow ws99900258 in tcode PFTC,
         Menu options -- > additional data-->agent assignment --> maintain --> select your workflow (this is where you are missing)
         click on "atttributes' buttone..
         Make it as general.
    2. In your workflow some of the elements are mandatory,  pass the required value into that element.
    This is you have to mention in the Binding ..
    Regards,
    Murali Krishna,

  • Roles assigned to ASAP Tasks

    The HTML version of ASAP shows (as it always did) the accelerators, roles, subject areas and references associated with a given task. At the header level there is an XLS file with the tasks and the related accelerator names. However there does not appear to be a way to extract the roles assocated with a task? How does one do that?
    Thanks, Chuck Dressler - PMP
    CIBER, Inc.

    Chuck,
    long time no see. I have noted that we need to update this in the next release of ASAP. Until we do that you can use the enclosed file. Hope this helps.
    Jan

  • Role assigned after workflow triggered

    a workflow has been processed before assigning an user to the role. now the message has been sent but not to anyone. Now, the user has been assigned to the role. but he wil not recevie msg as it is already been sent.
    so, how can i achieve that user gets the msg.

    Later a user has been assigned to a role
    You mean to say that  when the workflow is triggered you are creating a MAIL  and , now you want to again send the same mail to the person who is assigned for the role
    could you please let us know what option you are using in the mail step to send the mail I mean
    Expression
    User
    Position
    Job etc
    See if you are passing a mail with out them , I mean by leaving this field as blank then i think i workflow might be in the error state ,  can you be more clear on what exactly you mena by the message

  • Approval Task for role assignment

    Hello again,
    is there any manual for approval tasks with the SAP Provisioning Framework? There is a task group called Request new business role, but if I use this, the approver approves the request, but the status of the role assignment is "in process"and never changed to "OK".
    I only found these manuals:
    - How To... Create Approval Tasks in SAP NetWeaver Identity Management
    - Implementing role approvals
    But both documents didn't show an end-to-end role-request-and-approval workflow.
    Thanks in advance.

    Hello Matt, hello Peter,
    the web-enabled task "Request New Business Role" and the including approval task are only examples.
    To create own approval processes for your projects you have to understand how approval tasks and pending values work.
    The following document shows the basics of PVOs (pending value objects).
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0d6b459-3456-2b10-209e-9e78ec9fd97b?quicklink=index&overridelayout=true
    This is documentation of the release 7.0, which is not updated to 7.1. But basics of PVOs are still the same.
    There is also a document which describes approval task for Release 7.1:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20b67ad5-c69a-2c10-9da2-9721b1cf749c?quicklink=index&overridelayout=true
    Also a "How-To Guide" is available:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/904deabf-73b9-2c10-e8bb-8514dc3757f2?quicklink=index&overridelayout=true
    I think this is enough to learn to create workflows in SAP IdM.
    There is also a nice book available with detailed information:
    EN: http://www.sap-press.com/products/Understanding-SAP-NetWeaver-Identity-Management-.html
    DE: http://www.sap-press.de/2007
    I think this will help you.
    Best regrads,
    Christoph Reckers

  • Assign role, group to Human Task when initiated

    Hi all,
    Currently, when user login to BPM and create new task instance, i can get roles and groups of that user by programming. I want to assign roles of user to that task instance dynamically when user click SUBMIT button (Because i want to restrict users belong role are able to do this task, each user belong to a role and group can do it).
    Somebody help?
    Thanks.

    Hi Ming
    1. If you want to intercept any Actions from a Task like Save, Submit, Approve, Reject etc, you can create your own class like MyAppTaskValidationCallback that implements oracle.bpel.services.workflow.task.ITaskValidationCallback and in this overwrite one method named validateTaskOperation(bunch of parameters). See APIs for this.
    In this method, you can get the action performed on the task. Also you can get the complete Payload of the Task including your custom payload and the standard Task Payload stuff like History, Attachments, Comments etc. You can write some simple XML Parser utility methods to get and set attributes in the Payload xsd schema. So in your case, in this method, get Roles, Groups of the logged in user. Check the action performed. If he is not allowed to do that operation, throw the error from this method. Else continue with your logic. To begin with create java class like above, add this code snippet and just explore the data.
    Now, just curious. If your requirement is really to control the actions based on User Role/Groups, did you try to use the out of box functionality and avoid this custom logic. Say for BPM Applications, we have Swimlanes / Roles. Only users belonging to that Role, can work on that Tasks. Try to use out of box stuff as much as possible, unless you really need custom assignment logic.
    Thanks
    Ravi Jegga
    Just giving the code snippet to get an idea. But do refer the online APIs for more information.
    public void validateTaskOperation(ITaskValidationCallback.TaskAction taskAction, IWorkflowContext iWorkflowContext, Task task, Map<String, Object> parameters, Locale locale, List<String> errors) {
    try {
      Element taskPayload = task.getPayloadAsElement();
      String taskTitle;
      String taskOutcome;
      SystemAttributesType taskSystemAttributes = task.getSystemAttributes();         
      taskTitle = task.getTitle();
      System.out.println("MyAppTaskValidationCallback::validateTaskOperation() Begin For TaskTitle: " + taskTitle + " -> TaskAction: " + taskAction + " -> Parameters:\n" + parameters);
      if(taskAction == TaskAction.ACQUIRE) {
          System.out.println("Inside ACQUIRE");
          //parameters.put("AcquiredBy", iWorkflowContext.getUser());
      } else if(taskAction == TaskAction.OUTCOME_UPDATE) {
        System.out.println("Inside OUTCOME_UPDATE");
    } catch (Exception anException) {
      anException.printStackTrace();
    }

  • Workflow tasks in derived roles

    Hello,
    I am involved in a EHS Product Compliance project that uses workflow.
    In PFCG I assign a standard workflow task to a role under the workflow tab.  If I go to tcode PFTC, type in the workflow task number then navigate to: Additional Data->Agent assignment->Display, the user account assigned to the role is listed and clicking the Overall View button I see the role assignment.
    The problem is when I derive the role.  In this case the tasks show up under the workflow tab, but the derived role is not listed under PFCT and this role does not allow my end user to process workflows.
    Are there any known limitations using workflows in derived roles?

    Hello Savitha,
    What you proposed will work, but that defeats the who purpose of deriving roles.  I want to add the workflow tasks to the base role and then have my 30 derived roles updated automatically.
    Kerry

  • Task assignment in Workflow

    I am investigating the different possibilities to assign tasks in workflow processes. If I understand the documentation correctly a task can be assigned to an user or a group. If addressed to a group the first user in the group accessing the task "locks" it for all other users in the group. How do I assign a task to all users in a group (so each and every user in the group gets a copy of the task)? Can this be done? If not - how would you suggest such an implementation would be made? Perhaps using an external Web Service integrating with the Workflow Services?
    Best regards
    / Rasmus

    To assign a task to each an every member in the group, you could use the parallel workflow or "parallel with final reviewer" pattern. This will create a master task with subtasks assigned to each member of the group. Additionally you can use the ora:getUsersInGroup(groupId) xpath function to get all the members of the group and assign tasks to them.
    Another option is to use the <flow> construct in BPEL and create separate workflow tasks for each member in the group

  • Workflow task Assignment to more than one agent

    Hi
    Does anyone know about Workflow task Assignment to more than one agent.
    This mena at one point there will be more than one approver..
    Regards,
    Anand

    Hi,
    Have you checked in OVX6 ? You can assign a given plant to different Sales Org. - Distribution Channel.
    Select the Sales Org. - Distbn. Channel, click on Assign & in the pop-up box select the plant.
    Regards,
    Vivek

  • Assign-To-Do task for groups not showing in My workflow task webpart

    I work with Nintex My workflow task webpart. I have couple of assign to do task actions in my workflow.
    There if Assigned To is Initiator task is added to My workflow task webpart and if Assigned To
    is a group, then task is not added to My workflow task webpart.
    I want to know is that the behavior of Nintex, or something went wrong in my implementation.

    Hi Sivakumar,
    According to your description, my understanding is that you want to display the tasks assigned to a group in Nintex My workflow task web part.
    From the link below we can know that the Nintex My workflow task web part can only query for tasks for the user (queries the database), it only queries based on their login name, not on group membership.
    http://connect.nintex.com/forums/thread/5935.aspx
    As I am not familiar with this Nintex web part, I recommend you to post in this forum:
    http://connect.nintex.com/forums/.
    More Nintex experts will help you.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Assigning Users to a Role in a BPM Task

    Hi,
    Is it necessary to have User Admin access to add Users to a Role in a BPM Task ?
    Is there any work around to it ?
    Regards,
    Utsav

    Hi Utsav,
    Yes you require User Admin role to search and add UME Users.
    A workaround can be using the 'Use an Expression' :
    User: getPrincipalByUniqueName(string uniqeName,"user")
    Role: getPrincipalByUniqueName(string uniqeName,"role")
    Regards,
    Unni

  • OIM 11gR1 : Parallel approval for role assignment.

    Hi,
    I'd like to add custom attributes to a role : "District security officer" and "Department security officer" (Can those be used for searching users? -- i.e. users lookup)
    When the role is to be assigned to a user, I'd like the workflow engine to open tasks for the members entered on those custom attributes.
    Also, Is it possible to assign a Role instead of the users in the custom attributes ?
    Meaning, Approving user assignment of a role named "Role A" will be done by users that belong to "Role_A_Approvers".
    Will appreciate pointers to the online docs, I've search and didn't find information related to the usecase I've described.
    Thanks,
    Meni,

    Bikash Bagaria wrote:
    Meni wrote:
    Hi,
    I'd like to add custom attributes to a role : "District security officer" and "Department security officer" (Can those be used for searching users? -- i.e. users lookup)
    When the role is to be assigned to a user, I'd like the workflow engine to open tasks for the members entered on those custom attributes.Try modifying the dataset. But I think there was an issue which someone reported here which said that you cannot add additional attributes to the role dataset. Logically it makes sense because there is no custom attribute for role in OIM so dataset should not allow it either.
    I've noticed that the design console allows adding custom attributes to roles.
    This can be done via Administration --> User Defined Field Definitions --> UGP (Table name).
    Once a field is added, you'll need to choose "Properties" and add a "Visible Field = true" prop to the attribute chosen.
    This will add a custom attributes section where your attributes will be shown.
    Question is how you can add a "search users" lookup instead of plain string for this custom attribute,
    and how those attributes will find their ways into the BPEL composite where business decisions based on those attributes may be taken (assign task per this attribute for an example).
    Also, Is it possible to assign a Role instead of the users in the custom attributes ?
    Meaning, Approving user assignment of a role named "Role A" will be done by users that belong to "Role_A_Approvers".You can create request for multiple roles in a single request and in your approval process you need to dynamically set the human task assignee based on the role selected. You also need to attach the approval process to orchestration level so that it generates a separate child request for each role selected.
    I'm not sure I understand how the proposed approach helps avoid the decoupling of users to role admins attribute.
    The intention was to have two roles, "Role_A" and "Role_A_Approver" where people that belong to "Role_A_Approver" will be assigned workflow tasks whenever Role_A is to be granted to end-users.
    Currently, each role has a "Role Admin" attribute, this attribute however holds a user and not a container of users (role)..
    Will appreciate pointers to the online docs, I've search and didn't find information related to the usecase I've described.
    All about requests
    Thanks,
    Meni,-Bikash

  • Dynamic role setting in human task

    Hi,
    I would like to use the human task activity in a BPEL process setting the role that has to complete the activity dynamically.
    I mean, inside the human task editor, there is a section named "Assignment and Routing policy" where I add a participant to the task. There, I have two options: By name (which I have already used) or by expression.
    I would like to assign the role from a variable of my process. This is, I invoke the business rules engine, and the result is a role. Then, I want to assign the human task to that role. It this possible? How do I do this?
    Thanks in advance,
    Zaloa

    We do the same. We invoke a service from BPEL before the human workflow activity. This service returns a department (that is also present in our OID) based on some instance data. We assign this role to the human task in the task definition like this:
    <routingSlip xmlns="http://xmlns.oracle.com/bpel/workflow/routingSlip">
    <globalConfiguration>
    <expirationDuration duration="/task:task/task:payload/ns0:humanTaskInformation/ns0:expirationDate"
    type="XPATH"/>
    </globalConfiguration>
    <participants isAdhocRoutingSupported="false">
    <participant name="Department">
    <resource isGroup="true" type="XPATH">/task:task/task:payload/ns0:humanTaskInformation/ns0:department</resource>
    </participant>
    </participants>
    <notification includeTaskAttachments="false" actionable="false"
    secureNotifications="false"/>
    </routingSlip>
    This works.
    As Eric already indicated, you should see some error detail in the audit trail when the human workflow activity "falls through".
    Regards, Ronald

  • MSS Approval Report Links to Busines Workflow Task in UWL

    Hello All,
    I have a scenario below that I'm hoping you can help.
    I copied the standard business workflow task "TS31000007: CATS Approval by Supervisor" to create our own task (general task) and link the 'CatManagerApprove' application and 'sap.com/msscatapproval' package to this task in the Workflow Visualization Configuration.
    We then assigned this new task to the time data entry profile for the portal.  Once, employee released the working time, the task is created and send to the Universal Worklist. 
    The manager can then access the UWL and open this approve time workflow task. This task is open to the MSS Approval Report (similar to what appear under the MSS > Tasks > Approve Time by Manager).
    However, I have copied the Approve Time by Manager to our own and changed some of the  order of the column and header text and assigned to the MSS role. 
    I would like to have this CATS approval task open to the same approval report view/layout as in the MSS Approval Report.
    I've tried to change the layout (column order) through portal contents of the standard MSS Approval Report because I thought it was reading from there, but it's not.
    Does anyone know how this can be done or where to point to the MSS Approval Report on the portal.
    Any help would be appreciated!
    Tam

    Hi Karri,
    We were able to use the launch iview task to launch our specific iview but I cannot seem to get it to recognize the workitem. In other words, when I click on the task in the UWL, my approve working time iview appears but it does not have the data that is from the workflow task item. Attached is the XML code that I used:
    <ItemType name="uwl.task.webflow.TS93000001.SAP_ECC_Financials" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchIView" executionMode="default">
          <ItemTypeCriteria systemId="SAP_ECC_Financials" externalType="TS93000001" connector="WebFlowConnector"/>
          <Actions>
            <Action name="launchIView" groupAction="" handler="IViewLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                <Property name="page" value="pcd:portal_content/net.saccounty.SacCounty/net.saccounty.approve_ts_data"/>
                <Property name="openInNewWindow" value="yes"/>
                <Property name="display_order_priority" value="5"/>
                <Property name="workitemId" value="${item.externalId}"/>
              </Properties>
              <Descriptions default=""/>
            </Action>
          </Actions>
        </ItemType>
    I thought the line <Property name="workitemId" value="${item.externalId}"/> would pick up the work item ID, but it is not working. Any suggestions?
    TS93000001 is our task. approve_ts_data is our iview. It opens in a new window correctly and goes to the correct iview, just is not the actual task data.
    Thank you,
    Mark.

Maybe you are looking for

  • R/3 fields assignment to communication structure.

    Hi all, Is there a one place(easy way) where I can get a complete list of communcation structure infoobjects and to what R/3 source fields are these infoobjects assigned instead of checking in infosource because it takes a lot of time. please let me

  • TS4268 How can I remove an imessage phone number?

    How can I remove a mobile phone number from Settings>Messages>Send & Receive?

  • .htaccess redirect not working

    I have created a .htaccess file with the following code. "RedirectMatch permanent ^/index.html$ http://www.caymanvacation.com/index.cfm" It is in the domains root folder with the files it is redirecting and it doesn't work. Any advice on how to det a

  • IDOC in Message mapping

    Hi folks, I am working on file to idoc scenario.   I Imported the IDOC to my scenario. In Messaga Mapping IDOC structure displaying fields as a documention. but i need techincal names of those fields. for Example:   In my IDOC 1 field is showing comp

  • GB will not recognize guitar when using Presonus Firebox

    Hi, I purchased a Presonus Firebox yesterday and got started last night using it with GarageBand. I had success recording guitar tracks using mu shure57 mic. However, when I went to record a bass track directly through the firebox I can not get Garag