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

Similar Messages

  • 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 - 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 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.

  • 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

  • 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

  • A few days ago i bought the macbook pro in a Providence. In late Summer i will come back to my Country - Ukraine. I would like to know about a tax for my laptop. Can i return tax? Through the TAX FREE or return in airport? What should i do?

    A few days ago i bought the macbook pro in a Providence. In late Summer i will come back to my Country - Ukraine. I would like to know about a tax for my
    laptop. Can i return tax? Through the TAX FREE or return in airport? What should i do?

    You need to talk with the tax authorities in the countries to which you traveled and that of your home country. We are all end-users liek you and not Apple agents.

  • HT3702 I contacted a vendor about an app and they have not returned my email. I want to cancel the purchase.  What should I do?

    contacted a vendor about an app and they have not returned my email. I want to cancel the purchase.  What should I do?

    You probably cannot get a refund, since the terms of sale for the iTunes Store state that all sales are final. You can contact the iTunes Store, explain the reason for your request, and ask, though:
    http://www.apple.com/support/itunes/contact.html
    It's possible they'll make an exception for you, particularly if the app is defective in some way. If you just don't like or no longer need the app, a refund is unlikely.
    Good luck.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question.

  • My home button on my ipad2 is not working anymore, I pinch with four fingers to return to homepage, what should I do?

    My home button on my iPad2 isn't working anymore.....I use four fingers to swipe back to homepage...what should I do??

    It seems bizarre to suggest either of these fixes because they both require the use of the home button. However, I haven seen reports that both of these "fixes" have worked for other users in the past. They may not work for you, but nothing ventured, nothing gained.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Quit all apps and restart. Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    If still no luck, take your iPad to an Apple Store and let a genius take a look at it. You have the iPad 2 and it still has to be under the one year warranty.

  • After a series of very short power outages in my town our Imac boots with the pinwheel going and a progress bar, then the users screen comes up but our passwords no longer opens up desktops, just returns to the users choice screen.  What should I do?

    I'm on the choose a user screen and when I enter the password the screen goes white then returns to choosing a user. The system is rebooting differently when I tried turning off then back on, the pinwheel screen has a progress bar and it takes minutes instead of seconds.
    what should I try?

    You can try an SMC reset, especially if there was a power outage.
    http://support.apple.com/kb/HT3964
    If the issue seems like it just doesn't want to accept the password you'll need to boot to the install disc/recovery partition of the hardrive by holding the 'option' key while booting up. There should be a utility in there to reset your password.

  • I bought an ipad mini from some guy returning to the states and when i upgraded its os version its now asking for his apple id which i dont have. what should i do

    i bought an ipad mini from  some guy returning to the states and when i upgraded its os version its  now asking for his apple id which i dont have. what should i do

    That is Activation Lock.
    You have to contact the previous owner to have him remove it
    Find My iPhone Activation Lock: Removing a device from a previous owner

  • HT1555 My Apple TV wasn't working so I returned it. I kept the same remote from my previous Apple TV and it's not responding to it. What should I do?

    My Apple TV wasn't working so I returned it. I kept the same remote from my previous Apple TV and it's not responding to it. What should I do?

    Don't you have 2 Apple remotes now?
    Either way, hold menu and down key together for 6 secs and that should fix it unless the remote is broken or battery is flat.
    AC

  • 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

  • What should be the approach to perform these tasks?

    I am working on an AIR Desktop application (With Flex) which reads data from some XML Feeds, this data is feed for a Discussion Forum.
    1. I need to store the records from XML Feed into local Database.
    2. Need to check periodically (every 15 minutes) for updates in XML Feed.
    3. Compare XML with Database, and:
         1. Add new forum Threads (Items) to database,
         2. Mark closed on the threads (Items) removed from XML.
         3. Update database if Threads has been updated/modified.
    I hope my requirement is clear, now my question is: What should be the approch to perform these tasks?
    Best Regards,
    Alok Jain

    Echo
    Any Help Please...

  • When I use the inthernet with ipad it return home. What should I do?

    When I use the inthernet with ipad it return home. What should I do?

    any headphones will work, their are not any special apple ones that are needed.

Maybe you are looking for