To assign approval task

I'm using Guided Procedure
I want to assign the approval task to the group role.
Is that possible?
The points are
-is it possible to assign the approval task to more than 2 persons?
-Or is it possible to assing the action to roles of EP or user group?
Please let me know how to achive it.
Best regards,
Koji

Hi,
Yes.
This can be done by assigning an iview for your process and that iview to a group or worksets. Attach this to a role and then attach the role to the set of users who can do the approval.
So these agents will get the approval task in their UWL and who ever executes it first can do it and then it will disappear from the UWL of the other approval agents.
Hope this helps.
Cheers,
Mandrake

Similar Messages

  • How to assign approval task to a person who is not a member of the site

    Hi All,
    I need to assign approval task to a person who is not a member of site but member of team site.
    I know that if a person need to approve/reject task form should have atleast contribute permission.
    Is it possible to assign contribute permission to that person through workflow using impersonate step?

    You can assign permission through workflow using impersonate step and add list item permission. Few things to note here
    1) Impersonate step actually impersonate the person who last modified the workflow. This impersonation is similar to code impersonation. So you have to be careful that person who is creating this workflow does have permission to assign permission to others.
    2) You will have to assign permission to the list item (or list) where the item is as well as the task list item (or list) where your workflow task would be created. I think that would be Association: Task List when in SPD.
    3) If user does not have any permission at the site level then the only way they can access the item and/or the task item is through the link they would have received in email. 
    I am not 100% sure how permission assignment works from SPD when you list and list items are inheriting permission from parent so please verify that part as well.
    Amit

  • OBPM 10g assigning approval tasks to a individual participant

    Hi,
    In Oracle BPM 10g, is it possible to assign approval tasks to a individual participant instead of assigning to all the participants within a role. A list of participants shall be provided to the initiator while creating the process instance. The initiator selects one of the participants and upon submission the task is assigned to only that selected participant.
    Can the selected participant set up "out of office" or vacation rule, so that the task is automatically assigned to some other participant in the same role.
    Thanks in advance

    This logic retrieves the list of participants in a certain role:
    role as Fuego.Lib.Role               
    parts as Fuego.Lib.Participant[]                         
    part as Fuego.Lib.Participant          
    role = Role.find(name : "Customer Service")
    parts = role.participantsNote that this returns an array of Participant objects and not just a list of their names or ids. Feel free to ask for help getting the list of names or ids if you need it.
    Once you've decided which participant you want to be assigned to the work item instance, you'd use logic like this to assign it to that specific participant.
    // this would make this participant the assigned one in every interactive
    //   activity everywhere downstream
    role.defaultParticipantForCurrentInstance = part
    // this simply assigns the work item instance to that person in the
    //  next interactive activity
    this.participant.next = partThere is an OOTB way to assign a replacement for a participant. Not available in Studio, but an administrator can set replacements in the Process Administrator conole.
    Dan

  • Re-assigning approval Task - notification

    Hi,
    I have developed a custom task for resource request escalation notification and it works fine. The problem is that the method "*reassignApprovalTaskToUser*" automatically triggers the email notification "Notify Task Reassign" (Out of the box) after it is executed but in mycase I have to send an email using custom email notification which is defined in OIM. Any input would be appreciated.
    tcRequestOperationsIntf reqIntf = (tcRequestOperationsIntf)getUtility  ("Thor.API.Operations.tcRequestOperationsIntf");
    reqIntf.reassignApprovalTasksToUser(taskIntKeyArr, managerKey);
    Thanks & Regards
    Inbaa.
    Edited by: Inbaa on Jul 21, 2009 3:22 AM

    Hi Dost,
    reqIntf.reassignApprovalTasksToUser(taskIntKeyArr, managerKey);
    tcDataProvider dataProvider=getDataBase();
    tcEmailNotificationUtil sendMail = new tcEmailNotificationUtil(dataProvider);
    sendMail.constructEmail("Test-Escalation Notification");
    String fromAdd = sendMail.getFromAddress();
    sendMail.setFromAddress(fromAdd);
    sendMail.sendEmail(escalationEmail);
    The above code sends email notification 2 times.
    1. method reassignApprovalTasksToUser() - automatically sends email notification using out of the box email definition "Notify Task Reassign".
    2.The remaining lines of code also sends an email notification using the email definition "Test-Escalation Notification" which I have created.
    So , it sends 2 times.
    So how to stop the first one.
    Thanks in advance
    Inbaa

  • Assigning a task based on an approval workflow

    Hello,
    Is there a way to create a workflow that includes the following steps without coding:
    1. A user submits an IT service request.
    2. The request is approved by a Supervisor.
    3. The IT Manager assigns the request to a technician.
    4. The technician completes the request and attaches the appropriate documentation to the request.
    5. The IT Manager sends the completed work to the user.
    Thanks in advance.

    Hi Amatullah,
    The following extention for the Workflow Activities available in SharePoint Designer will allow you to create one or more workfows that satisfy your requirements:
    http://spdactivities.codeplex.com/
    The worklfow would be configured to start when a new item is added to the list / library, which would assign an approval task (or collect approval status) from the approver (Supervisor). 
    After the manager assigns the request to a technician and the technician completes the request, the manager may want to confirm/close the request.  this would allow the worklfow to continue and/or respond by sending the completed work to the user.
    You can either "Collect data from a user" to obtain the "User" to assign the request, have the workflow "Wait for a field change" to obtain the assign to user, as well as other alternatives to get the Assign To details for each
    step of the process.  A separate field for each would probably be more suitable than re-assigning the task using the same "Assigned To" field each time, as the details each participant will be captured (not an issue if using the "Collect
    data from a user" action, as the Assigned To information will be available in the task item created by the workflow).
    The custom activities above allow you to do the following, which may assist with your solution:
    Specify the sender of an email
    Attach list items as email attachments
    Without the custom activities, you could develop a similar solution, but you won't be able to attach list items (include links instead), or specify the sender.  The approval and request delegation process can be achieved using OOB Workflow Activities
    available in SharePoint Designer.
    Learn SharePoint 2010
    SharePoint Development
    SharePoint Tutorials (Blog)

  • Specify duration for each assignment stage in an approval task - sharepoint designer workflow

    HI
    I am trying to create an approval workflow in sharepoint designer. How do I configure different duration for each participant in a approval task .?

    I had a similar issue. Best way I found was to go into the 'Before a Task is Assigned' of the task and then Set Task Field Due Date - to the date needed.  If you need to get into specific time of the day, it presents additional issues.  First the
    workflow doesn't have a 'current time' function.  If the task is being created at the start of the workflow, you can use Workflow Context Date/Time started and calculate from there.  If you are adding a task, or the
    task is occurring after a previous task, you can make a workflow field and on the 'When a Task Completes - assign it the value of Current Task Last Modified.  Also, it seems their is bug where it doesn't recognize the
    time-zone correctly when you update the Due Date in the workflow process.  So if you see unexpected results for the time in the duedate value, may have to adjust for however many number of hours your timezone is from GMT.

  • 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

  • Is this normal? "There are currently no approval tasks assigned to you."

    Our site owners encounter the following situation:
     - We are using sites based on "Publishing site with workflow" template.
     - We have used Owners (Permission Level=Full Control) for site managers  and Visitors (Permission Level=Read) for everyone on domain. We also did not add usernames directly, but instead used an AD group (which was added to the SharePoint Owners group).
     - There is currently no users in Approvers (Permission Level=Approve) group.
    In this situation when someone from Owners grope creates a page and clicks Submit, he sees Approve and Reject buttons. However he is not able to Approve either Reject and gets "There are currently no approval tasks assigned to you".
    I have added the AD group we have used for Owners to Approvers group, the site manages still were not able to Approve (with same error message).
    The situation finally got fixed after I have added a user directly with his username to the SP Approvers group. Adding any user directly with his/her username fixes this partially: then the task is indeed created, but someone from Owner group (that was not
    in Approvers group when task was created) still can not approve by clicking on Approve button, but he can take over the Task from Task List and then approve...
    To my knowledge all this happened because there was indeed no approval task created (that is what actually error indicates). But still I am little bit confused about 2 things:
     - Why someone with Full Control permission can not approve/reject a page (in the end that is just an item from the list with a workflow activated on it)
     - Why there were no task created (I would expect that if there is no one in Approvers group, the tasks would be created for other users with Approve permissions, for example through Full Control right; also situation when there was an AD group is strange,
    why not to create a task assigned to that AD group).
    Just wondering about other thoughts on this behaviour.
    Thanks in advance!
    Tofig

    Hi Tofig,
    As you rightly said, this behaviour is by design. 
    As far as I understand, the owners need not be given the approver permission considering them to be mostly from technical background.  They may not necessarily be good at content authoring and design and keeping them away from the approver group may
    avoid any language related goof-ups (punctuations, grammatical errors etc.)
    On the other hand, if they are good at content authoring, the site owners can be included in the Approver group, to avoid getting this message.  This message also goes away once any of the user under Approver group, approves the changes.
    Cheers :)
    LM

  • How to get the group key, which an approval task assign to

    Hi,
    When a user is assign to OIM Group (i.e. from User Detail >> Group Membership form), I will call an approval process (using Access Policy).
    In that approval process, I have defined two tasks.
    1) Assign Approval to Group -> NOT conditional
    2) Remove OIM Group From User -> conditional
    So, from the 1) task, I will assign this approval to a OIM Group.
    If the user click "Approva", a provisioning process will be fired.
    If the user click "Deny" (Reject), 2) task will be run.
    What I want is this.
    From this 2) task, I need to get the "OIM Approval group" key or name (which this approval is assigned to)......
    Note: I need to get this group info in the "Approval Process Task" -> "Integration" -> "Map"
    Regards,
    Chaturanga

    Hi,
    Yes. I have done that.
    Now what I want is this. If the approver "Deny" (Reject) the approval task, I will call another task in the approval process. From that task, I need to run a code, which remove the user from OIM Group.
    So, to do it, I have written a java code and created a adapter. So, as a input parameter for that code, I need to give the approval group name(i.e. the OIM group, above approval task is assign to).
    How can I get the OIM approval group, which the person who Deny the approval belongs to, from this new approval process task???
    Regards,
    Chaturanga

  • Issues with Approval Task IN IDM 7.1

    Hi,
    I have been facing issues with Approval task.
    Firstly,
    I have created an Approval task with 'Mskeyvalue' and 'Mxref_mx_privilege' as attributes.
    I am having a problem in the Approvers workflow UI where, we see these approvals.
    It not only displays the requested privilege,but also the already provisioned privileges of the enduser to the approver.
    He will not be able to recognize which privilege has been requested.
    Is this an already known issue which has been sorted out in recently updated patches?
    If not can you suggest me a solution for this.
    Secondly,
    The privilege requested by the end-user is getting provisioned to the backend,even before it is Approved.
    Since Provisioning tasks are mapped through repository,privileges are getting provisioned as soon as
    an entry is made into the Identity Stores.
    But,Ideally the requested privilege should not be proviosioned to the backend until it is approved by the Approver.
    Is this an already known isuue which has been sorted out in recently updated patches?
    If not can you suggest me a solution for this.
    Thanks and Regards,
    Joel
    Edited by: Joel Sundararajan Davis on Jul 16, 2009 11:04 AM

    Joel,
    I'm afraid the approval process is not quite this simple.  You are correct, if you have provisioning setup on the repository for a privilege it will be assigned immediately.  The approval task as you are using it works as an 'interrupt' to a process - nothing more.
    There is an entry type called pending value that you would need to leverage in order to have privileges requested route for approval.  This pending value object is created by default for role requests in 7.1, but I'm not sure how to create a pending value for a privilege.
    Which brings to mind a question - is there a reason you want users to request privileges instead of roles? In general I think the security model is setup so that users are assigned roles which contain one or more privileges.
    If you do choose to use a role instead of privilege, simply set the attribute MX_APPROVAL_TASK to the id of the approval task you want to use and the system will do the rest.  The display you referenced in the first part of your question will always display the current values of the attributes you select for the user, so don't try to display the roles there - just display the user id, name, whatever else is helpful and when the approver clicks on the user id they will get the approval details which will include the requested role.
    Also, please note that if you would like to assign a role directly anywhere (bypass approvals) you can use the switch: {direct_reference=1}
    -Geoff

  • 'No Details' error when tying to appen approval task from oim page -11GR2

    Hi all,
    I am using RequestService service of oim API for triggering Remove Role request. Request is being triggered succesfuly, and approval task is being assigned to the right person. But when I try to open the task I get 'No Details Available For the Task' message in apopup. I tried to open it from the worklist application but there is the same error. What may be wrong? Any Help is strongly appreciated...
    Code snipped I use is below:
    OIMApiHelper helper = new OIMApiHelper();
    User user = helper.findUserByReconKey(userReconKey);
    String userKey =user.getEntityId();
    RoleManager roleManager = Platform.getService(RoleManager.class);
    RequestData requestData = new RequestData();
    RequestService reqsrvc = Platform.getService(RequestService.class);
    requestData.setJustification(" Remove Roles");
    ArrayList<RequestBeneficiaryEntity> entities = new ArrayList<RequestBeneficiaryEntity>();
    List<Role> userRoles = roleManager.getUserMemberships(userKey,true);
    for(int i=0; userRoles!=null && i<userRoles.size();i++){
    Role role = userRoles.get(i);
    String roleKey = role.getEntityId();
    String roleName = role.getName();
    if(roleName.endsWith("ALL USERS")){
    continue;
    log.info("Benificiary Key (Role ID) ->"+roleKey);
    log.info("Benificiary Name (Role Name) ->"+roleName);
    RequestBeneficiaryEntity ent1 = new RequestBeneficiaryEntity();
    ent1.setRequestEntityType(oracle.iam.platform.utils.vo.OIMType.Role);
    ent1.setOperation(RequestConstants.MODEL_REMOVE_ROLES_OPERATION);
    ent1.setEntitySubType(roleName);
    ent1.setEntityKey(roleKey);
    entities.add(ent1);
    if(entities.size()==0){
    return;
    Beneficiary beneficiary = new Beneficiary();
    beneficiary.setBeneficiaryKey(userKey);
    beneficiary.setBeneficiaryType(Beneficiary.USER_BENEFICIARY);
    beneficiary.setTargetEntities(entities);
    List<Beneficiary> beneficiaries = new ArrayList<Beneficiary>();
    beneficiaries.add(beneficiary);
    requestData.setBeneficiaries(beneficiaries);
    //submit request
    String reqId = reqsrvc.submitRequest(requestData);
    BR,
    Aliye

    He is talking about the configuration which you did at the time of OIM Installation.
    Verify:
    Login into EM > System Mbean Browser > Application Defined Mbean > oracle.iam > oim_server1 > oim >Config > XML Config.Discovery > Discovery

  • Some fields are missing in Current Task - Designer Workflow Approval Task Process

    Hi All,
           I am using approval task process activity in designer workflow. When i go to the single task behaviour page, some fields are missing under Current Task Source.
    Some missing fields are :
    1. Assigned To
    2.External participants
    3. Form Urn
    I am trying to get the above fields but not available. What could be the issue?
    Puli Bala

    Hi Puli,
    I think your task list is corrupted, could you please try to associate your workflow to another task list in SharePoint Designer > Click Workflows on left navigation > Click to open your workflow > Under Settings section, select another task
    list and test.
    Thanks & Regards,
    Emir
    Emir Liu
    TechNet Community Support

  • Setting dynamic user in Approval task

    While setting the user at runtime for approval task, I have created a Task Assignment adapter and associate the adapter in the assignment tab for the approval task. I have used reassignApprovalTasksToUser method of tcRequestOperationsIntf class. I have passed the task instance id as well as the user key. From the system console I am able to find that the adapter is invoked.
    I have suppress the standard approval process using tcComplete task adapter.
    When the requestor make the request and goto approval details page the system is showing the request is pending to the re-assigned user however when I login into the console using re-assigned user credential no request is pending in his work busket. What I observed, the request is pending in xelsysadm work busket.
    Would appreciate if someone let me know the step which I am missing.

    Yes, I suppressed the "Approve" Task in standard approval process.
    Can you please let me know how to mapped the key type in the task assignment adapter.
    I have created two variables in the adapter and mapped those two variables from the assignment tab of the approval task.
    I have seen there are two more variables in the Adapters, "Adapter return value for Key type" and "Adapter return value for Key" and these two adapter variables are mapped as "Set at runtime".
    How do I map these two variable?
    No I do not find any exception with regard to execution of the task assignment adapter in the log.

  • Spawning multiple approval tasks in parallel in OIM11g SOA Composite

    Hi,
    We are trying to implement the following scenario.
    1) We are trying to develop a SOA composite for AD Group Access
    2) The request dataset contains a child table for AD User Group Details which is as follows.
    <AttributeReference name="AD User Group Details" attr-ref="UD_ADUSRC" type="String" length="20" widget="text" available-in-bulk="true">
    <AttributeReference name="Group Name" attr-ref="Group Name" type="String" length="400" widget="lookup" available-in-bulk="true" lookup-code="Lookup.ADReconciliation.GroupLookup" primary="true"/>
    </AttributeReference>
    3) Consider the user is already provisioned to AD.
    4) User now tries to request for AD Group Access by using a request template
    5) The request dataSet for the resource "AD Group Access" will be displayed where the user would "Add" the group(s) to which (s)he want access.
    6) Once the request is sumbitted the associated SOA composite would be executed.
    7) Now, in the SOA composite the logic should be as follows:
    a. For each group selected, there is a corresponding dataApprover who should approve the request.
    b. Once the dataApprover approves the request it goes to the next approver who is securityApprover.
    c. Once the securityApprover approves the request, the request should go thru and the user should get the membership in the AD Group.
    d. Since "AD User Group Details" is a child form in the request dataset, the user can add multiple groups in the same request.
    e. If there are muliple groups selected in the same request, then the same request should spawn parallel approval tasks for all corresponding dataApprovers and securityApprovers.
    f. Then the user should get membership to those AD Groups for which the corresponding dataApprover and securityApprover had approved the request.
    e. If a dataApprover or securityApprover rejects the request then the user shouldn't get membership to the respective group. However, this shouldn't prevent the user from getting membership to other groups for which dataApprover-securityApprover approval was done.
    The dataApprover and securityApprover for the groups are stored in a db table mapping to the corresponding group name.
    We have implemented a SOA composite for which the logic is fine if we add only one group in the child table of request dataset. As per the current implementation, when a user submits the request, the dataApprover and securityApprover for the selected group are fetched from the table and the global variables in SOA composite are set with the ID of dataApprover and securityApprove using setVariableData. These are sting variables. These variables are used in the approval task. The approval task has two "Single Type" participants - dataApprover and securityApprover. These participants fetch the value of dataOwner and securityOwner from the global variables set using setVariableData.
    Now, as mentioned above, if mutiple groups are added like group1, group 2 etc. then there should be multiple approval tasks spawned in parallel that will be approved/rejected by dataApprover1-securityApprover1, dataApprover2-securityApprover2 etc. Depending on the output (approve/reject) the user should get membership to appropriate groups.
    Any inputs on how to modify the current composite to spawn multiple approval tasks in parallel depending on the number of groups added from the requestDataSet would be helpful.
    Regards,
    Swaroop

    Single request id then you are bit safe. The way to do it would be:
    1. Set the dataApprovers as a comma separated list of all the data approvers for all the groups.
    2. Set the securityApprovers as a command separated list of all the security approvers for all the groups.
    3. In Human Task assign the first stage to all the dataApprovers and second stage to securityApprovers.
    Cons of this approach are:
    1. All the approvers would see all the data and they might be confused what they are approving.
    2. securityAppprovers for say group1 won't get the item untill all the dataApprovers approve the request even though dataApprover has approved the request for group1.
    3. Would be hard to implement the rejection cases; depending upon how you want to handle the rejections. For e.g. what if any dataApprover rejects the request? Should the whole request be rejected? If so what would happen to those which have already been approved by dataApprovers? Same case goes for securityApprovers. Again since you cannot modify the requested data once the request is submitted; thus you cannot remove the rejected groups from the request.
    4. You provisioning won't trigger untill all dataApprovers and all securityApprovers have approved the request.
    5. Any one approve from comma separated list of approvers would approve the request. Thus you cannot make sure that all the approvers should approve the request. The workaround would be to create parallel stages in human task and assign one group/approver to one parallel stage. This would mean that you will have to hard code the number of parallel approvals which can be generated in your BPEL human task (This would again depend upon the number of groups requested). To workaround this you could use BPEL extenal routing program where you can pragmatically assign tasks but again since there is no entitlement based request engine in OIM, thus there would be issues there too.
    As a workaround, make sure that you allow only one group to be requested per request and reject the request outright if multiple groups are requested in a single request. You will need to buy in the business on this one.
    Have heard the grapevine that 12G which is in the pipeline would have entitlement based request engine and also would allow for modification of request data once the request is submitted.
    HTH,
    BB

  • Can I assign a task based on information from another column?

    For example:
    Let's say I have a column called "Question Type" and this column has multiple checkbox choice, those being:
         Math
         Science
         History
         English
         Other
    I want to allow users to be able to select multpile catagories for the question, like making one both math and science (which right now is completely possible)
    I then want another column that says who the problem is assigned to. Bob is good at math, Joe at science, Jill at histroy, Jenn at English, and Billy handles everything else.
    1) Is there a way that the task can be automatically assigned to my math expert Bob when I specify that the item I am adding is a math problem?
    2) If I make a problem both math and science, can the task be assigned to both Bob and Joe?
    Thanks in advance!

    Hi,
    According to your post, my understanding is that you wanted to assign a task based on information from another column.
    To assign task to multiple users, you need to:
    Create a workflow and add action: Start Approval Process.
    Click these user, select the Group, change One or a time(serial) to
    All at onec(paralle).
    Right click the action, select Properties, click ExpandGroups, change No to
    Yes.
    Then you can assign task to each member of the group.
    I recommend to follow the steps as below to achieve what you want:
    Create a custom list, add columns: Question Type(Choice); Assigned to(Person or Group).
    Create a workflow associated the list.
    Add conditions and action as below:
    Then the task can be automatically assigned to 123 when the item is a math problem.
    In addition, if you make a problem both math and science, the task can be assigned to both 456 and 789.
    You can add other conditions to satisfy all the requirements.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for