OIM task Assignment Tab

I am trying to understand how the assignment tab works. In process Def, I have a task, like create user. That has a assignment tab which has one entry in it. It has escalation time and a Default Rule. I entered an escalation time of 10 mins and then proceeded to create another entry below that. However, it says it needs a rule and the Default rule is not applicable since its already used by the first entry.
What rule do I need to create? What should be in that rule? Thanks in advance.

See
http://download.oracle.com/docs/cd/E14049_01/doc.9101/e14061/resmgt.htm#BABIHAIJ
You have to create Task Assignment Rule for this. That Task Assigment Tab is used for assigning that task to someone.
Suppose you have approval workflow and you have create Approval Task in that. Then you can assign it to anyone to approve that task.
In Task assignment tab, you select the user or group who will be responsible for completing that task. If you are giving some time duration in Escalation then it will escalate after that particular time but it tales value in ms.

Similar Messages

  • OIM - Task Assignment Adapter - How to get the object instance key?

    Hello experts,
    I'm trying to use a task assignment adapter to assign an approval task dynamically. Basically, the user can request a resource like "CustomApp Profiles" and we create an object form to let them choose the profile that he needs. Each profile has an owner, which is populate in a Lookup (Owner is the code and Profile is the decode).
    So, in the approval task, I need to get the profile selected by user in the object form and search into the lookup who is the owner of that profile. But I don't know how can I get the object instance key using the parameters that can be mapped to a task assignment adapter.
    Looking into the OIM documents, I believe that the easier way is using the request key, because the REQ_KEY is a foreign key in OBI table.
    Did anyone knows how can I get the object instance key using the request key? Can I use some API or should I execute a SQL statement directly in OIM database?
    Best Regards,
    Nitto

    To retry a task that is in a rejected state, you use the SCH_KEY which is the task key.  In OIM, all rejected tasks are listed in the OTI table.  It contains all the important information about a rejected or pending task.
    You can use the APIs found in the tcProvisioningOperationsIntf class to retrieve open tasks.
    -Kevin

  • OIM: what should return a task assignment ?

    Hi,
    I have written a task assignement adapter, which returns the login name of a user, as it appears in OIM "myappr1".
    I have specified this adapter in the Assignment tab of a process task of an approval task.
    The approval process and the task I wrote are correctly executed, however the approval request goes to xelsysadm rather then to myappr1 as I would expect.
    What value should actually return the adapter?
    Thanks much.

    See I beleive that for a Task Assignment you must supply the target type within the adapter itself (and not on the Target Type field). Look for the following correction as well.
    When you create this adapter you will find that there are two automatically included variables named Return Variable for Key and Return Variable for Key Type. In addition to the task you have already added for the selection of target user, also add another task for selection of target type. Do it as follows:
    - Create a utility task. Select xlUtils.jar from API source.
    - Select holdData for the method name.
    - Now provide value for Return Variable for Key Type as Group (this would be a literal).
    Try it out once again.
    Thanks
    Sunny

  • OIM: what parameters for the task assignment adapter?

    Hi,
    following the tip here: Re: how to use adapter to assign task to a specific user
    I created a task assigment adapter and set the following by means of a simple java class:
    Adapter return value for key="myapprover2"
    Adapter return value for key type="User"
    myapprover2 is the login name of a user in OIM.
    It does not seam to work, because the approval task is assigned to the xelsysadm instead of myapprover2.
    What I else need to do to get it working?
    Thanks.

    The key needs to be the Users.Key value returned in a string format to the Object variable holding the task assignment key variable.
    -Kevin

  • OIM 10g Task Assignment adapter

    Hi All,
    I have Task assignment adapter in place which assigns the task to the group in OIM - group decided on some condition.
    I want to bypass this task assignment if user's manager is the member of decided group. Is it possible?
    Any pointer would be a great help.
    Thanks,
    Pallavi

    Add a task say "Check Manager" which will check whether user's manager is part of that group or not. Based on that send some response YES or NO
    On YES, call "Approval" and attach task assignment adapter there.
    On NO, you can attach any task if you want or leave it as it is.
    Reference:
    http://rajivdewan.blogspot.com/2010/07/multilevel-approval-workflow-in-oracle.html

  • OIM 11gR2 - Task Assignment

    There is an approval workflow in my current 10g environment, where approval is assigned to a particular user after running a task assignment adapter. The java code inside my task assignment adapter has the logic which gives the approver key as output. Based on this the task is assigned to that particular approver. In OIM 11gr2 since the approval workflow happens in SOA side how can i perform my java logic there and route the approval based on that. Thanks.

    You can obtain user key either using expression rules or if logic is complex, you can use java embedding task to add your java code inside composite. Refer link here:
    http://docs.oracle.com/cd/E21764_01/doc.1111/e14309/soa_api.htm
    Check section: 26.2.3 Updating the SOA Composite
    regards,
    GP

  • 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

  • Reminder email notification and task assignment notification from humantask

    Hi All ,
    We have developed a 3 level approval SOA composite which sends the 1st level approval to a Manager and once Manager approves the request, the approval task is assigned to a 2nd level approver role(Group) for approval and after the approval from 2nd level approver group , the approval task is assigned to a 3rd level approver group .
    After the request is submitted and the task is assigned to Manager for approval. Manager receives a task assignment notification (defined in the notification tab of the .task) and a reminder notification is fired after X hours of the task assignment. The issue is, the assignment notification and reminder notification are same, is it possible to send different notification on task assignment and a different notification on reminder.
    Appreciate your help on this !
    Thanks
    suren

    The default email solutions in planning are using workflow or task lists, though the task lists are based on due dates.
    If you wanted a solution where an email is sent out when a task list is complete, then one route could be to have a business rule attached to a task list and then the business rule uses a custom CDF to send out email notication.
    If you are interested in sending emails from business rules then I did write a blog on the subject a while back.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • CProjects rescheduling:: Role-task assignment adjustment

    All,
    We create a project with phase and task & role with staffing. We assign role-resource to task.
    After sometime, we reschedule the project. Dates of project, phase, and task are changed. But the role validity, the role staffing duration, role-resource-task assignment remain unaffected.
    Am I wise to expect
    -automatic adjustment of role's validity to the new Project Dates? ('General' tab)
    -automatic adjustment of role staffing? and ('staffing')
    -automatic adjustment of role-resource-task assignment? ('task')
    Have anyone customized in this area?
    thanks,
    Mathavan

    Hello!
    We had the same requirement as yours, and we had to develop everything to automatize such needs. It's not available in standard.
    For information, we are working on SAP cProjects/xRPM 4.5
    Regards,
    Matthias

  • Task assignment adapter - dynamic route to either group or user

    I have configured an approval process in design console and I want to be able to dynamically route the approval request to either the target user manager OR a group. I have written logic/code to automatically determine what group or user to route the request to and also to set the key type to either user or group depending on my logic conditions.
    This code is executed in a task assignment adapter and set the values for the key type and key depending on the logic.
    i.e. the key type would be "user" and key would be the user key for the target user manager, if my logic determines it should be routed to a manager
    OR
    the key type would be "group" and key would be the group key for the approval group, if my logic determines it should be routed to a group
    HOWEVER MY PROBLEM is with assigning the adapter to a process task. I am thinking I would need to have two entries in the Assignment tab of the process task. The first entry has the default rule and I assigned the target type to "group" and include my adapter here.
    How do I go about assigning the second entry for target type "user"? Since "Default" is the only rule option and I am not able to use it twice.
    I tried to create a rule in the Rule Definition form and create a Task Assignment rule that might do something to check if a task is assigned to "user", so that I can have this as my second rule in the Assignment tab of the process task and if it is true, it would call my adapter that would return the key for the target user's manager.
    I DO NOT KNOW what conditions to set in the Rule Element window for the Task Assignment rule. Can someone tell me what to do here OR provide me with a better alternative.

    Thanks for all the responses. Approvals are now being routed correctly.
    I have a follow-up question though........ I created a process adapter to send notifications to either the target user manager or members of the group that is the approval is routed to.
    I have a notification process task as part of my approval process and in its Integration tab, I added my process adapter that sends notifications.
    The code for the adapter uses the same logic I described in my original question to determine if the approval is being routed to a user of group. If it is routed to a group, the notification adapter identifies members of the group and sends email to them, this part works fine.
    However the problem is when the logic determines it should be routed to the target user's manager. One of the variables of this notification process adapter is username of the target user. Using that username, my code determines who the manager, gets the manager's email address and sends the email. Problem with this is that when mapping variables for process adapters in the Integration tab, in the Map To field, it does not give you the option of mapping to Request Target User, which would have provided me with user attributes of the target user such as the user name. It provides option for the Requester, but my reality is that the Requester is not always the Target User.
    Any suggestions for fixing this would be greatly appreciated.

  • Task Assignment Adapter Error

    Hi I have developed a task assignment adapter for approval.I am hardcoding the group name and then qurtying database to find the group.Then from the resultset I am getting the value of the group key.and then I m writing two tasks to get the key and the key type.
    I am getting the following error
    Running PUTGROUPINHASHMAP
    2008-09-05 12:09:48,640 INFO [STDOUT] Target Class = com.thortech.xl.util.adapters.tcUtilHashTableOperations
    2008-09-05 12:09:48,640 INFO [STDOUT] Running QUERYDATABASE
    2008-09-05 12:09:48,703 INFO [STDOUT] Running GETGROUPKEY
    2008-09-05 12:09:48,703 INFO [STDOUT] Running SETKEY
    2008-09-05 12:09:48,703 INFO [STDOUT] Target Class = com.thortech.xl.util.adapters.tcUtilStringOperations
    2008-09-05 12:09:48,734 ERROR [XELLERATE.DATABASE] select ugp_key from ugp where ugp_key =
    java.sql.SQLException: ORA-00936: missing expression
    But when I am hardcoding the group key then its working fine.
    I just dont know where the error is.
    Please help me regarding this.
    I think OIM is querying database but is not able to find the group,but the group which I putting in hashmap is present.

    I suppose I was not clear in my query.
    Actually I have a situation in which if a user logins and requests a resource then I get the above error and as a result of which the approval goes to the Xelsysadm and not the group that I have assigned.
    But when I login as Xelsysadm i.e system administrator and then if I request for a resource for any user by clicking the request menu item then the approval is working fine i.e it goes to the group that I have assigned.
    Please help me regarding this
    Edited by: jason_2007 on Sep 7, 2008 11:50 PM

  • Whats the use of definig the task assignment ....

    I ve a question that what is the need of assigning the possible agent again after v assigned the agent in the agent type...
    Really  for a task , first i  assigned the USER , then what  i  did is assigned a possible agent by clicking the agent assignment icon  in the task properties tab and then i checked the check box for GENERAL FORWARDING ALLOWED, assigned the agent type  by clicking the create agent assignment icon ..i
    choosing  the user....and i mention an existing user there
    then i test run the workflow passing the instance ...but the workitem is not getting into anyones in box.... can anyone explain the usage of that and what happened on what i did....
    thanku...

    I am not sure if I got it correctly:
    1. You have assigned a particular user as an agent for a workflow step (he should become an agent at runtime).
    2. As possible agent assignment you have chosen 'General forwarding not allowed' checkbox.
    If that's the case, the possible agent assignment is still missing. I.e. whoever receives the workitem can forward it to anybody, but noone can receive it.
    You have two options:
    1. Declare a task as a general task.
    2. Maintain the possible agent assignment: assign at least your user as  a possible agent.
    In this scenario I would opt for 1.
    And to answer the question what is the use I would give some examples:
    1. You assign particular agents to the WF step. You declare a task as general task.
    This is most commonly used. Works as described above.
    2. You don't make an assignment at the WF step level. You declare limited number of possible agents for a task.
    Merely used. All possible agents will receive a task. Can they forward? This depends on the settings of a task (forwarding allowed).
    3. You assign particular agent to the WF step. You declare possible agents (e.g. by assigning a PFCG role). You declare, that general forwarding is not allowed.
    Appropriate agent will receive a task and he will not be able to forward it to somebody who is not authorised.
    Some other combinations are possible, but not always make sense.
    Regards,
    Michal

  • Assignment tab clarification

    What is the significance of Assignment tab in provisioning process of Process definition?
    PD is Provisioning type
    I added a group say GRPTEST and email template to Assignment tab
    I have a process task for which I mapped an adapter; this adapter has the following responses
    Completed ie C
    Rejected ie R
    On what response (Completed / Rejected) attached email will trigger to that group ( GRPTEST ) ?
    If it triggers on complete then any open/complete task to will send to that group?
    Thanks..
    Edited by: user11963802 on Mar 16, 2011 3:16 AM
    Edited by: user11963802 on Mar 16, 2011 3:17 AM

    I have a process task for which I mapped an adapterIn this case Assignment Tab doesn't come in picture.
    If you don't attach any adapter in integration tab of that task then it will assign to GRPTEST group to take action manually and will send email on assignment too.

  • Xellerate sample API for Task Assignment adapter

    Can anyone share an example of Task Assignment API adapter (jar file) for Xellerate? Thank you.

    Hi Maria,
    1. When do I need to use Task assignment rule and when task assignment adapter?
    Both are for the same purpose i.e., assigning a task/approval task to a person or group. I have never worked on task assignment rule but unless you have complicated logic for assigning a task you can always go ahead with task assignment rule.
    2. Or do I need to use them together?
    Either of them will suffice!
    3. I put the adapter on the assignment tab and it says "Mapping incomplete" How do you map this adapter? (I have to pass user logon somehow)
    When you add the adapter to the assignment tab, map button(below the assign button) which is deactivated by default will be activated, you can go ahead and map the variables there!
    Hope this helps.
    -Hrushi
    Edited by: hrushi on Sep 6, 2010 7:24 PM

  • What are Task assignment adapter and Task Assignment Rule?

    What are Task assignment adapter and Task Assignment Rule?

    Task assignment adapter lets you return a value to the type and assignee values in the adapter. You can use these to dynamically assigned to users or groups.
    Task assignment rules let you specific the priority in which the assignment rules are done. If you go to any process task adapter and open it. Go to the assignemnt tab. Here is where you can specifiy your rules to create an order of determination. You can have multiple entries with rules determining organization and then have them assigned to appropriate groups in each assignemt rule entry. Or you can dynamically assign by using the default and a task assignment adapter to figure that out.
    -Kevin

Maybe you are looking for

  • Short Dump while including custom text

    Hi Guru's             I am new to workflow and i have a requirement to include a custom text by replacing the standard one.             I selected the user decision and navigated to control tab there i got the task number, i just copied the task     

  • Internet blocking access to certain websites and M...

    I had BT Infinity installed about 3 weeks ago and since then iMessage on my iPod has worked at random times, getting a 'Message Could Not Be Delivered' which was annoying, but as of today I can't use Windows Live Messenger on either my iPod or Laptop

  • Logical database AAV

    Hi all friend ! I have problem belong Logical database, I used Logical database AAV but when I run report, i receive a message " VBAK is not specified for field selection". report test_logicaldatabase. nodes: vbak. get vbak fields vbeln. write: / vba

  • Tab delimit file

    I need to eliminate space after the value in the column using a sql file. Meaning I need to generate a tab delimited file but the delimit should come exactly after the last character of that column eg. set echo off set heading off set wrap off set pa

  • User context

    Hi, I have different users that can access my software but they should see each others data and they can't access the same products. Is there any technical way to solve this problem or what is the best way to solve this problem ? Thanks