OIM - Process Definition Dependent Tasks

Hi,
I have created two process definition tasks, and have attached task2 as a dependent task for task1. But, the task2 is not getting triggered.
Please let me know, what I am missing.
Regards
Vicky

Hi Suren,
My requirement is once the users last name is changed in the user form, it has to be populated in the process form and in the target.
So, I have written a process task for copying the value from user form to process form, and made the task that will talk to the target as dependent task.
I have attached the copy task as a user trigger.
But, here there is no return value from the copy task, so how can map this.
And, the copy task is working fine, able to populate the data in the process form. But, the dependent task is not getting triggered, to modify in the target.
Any help is appreciated.
Regards
vicky

Similar Messages

  • OIM - 'Task Effect' in Process Definition - Task Properties

    Hi all,
    I am trying to understand the drop-down selection 'Task Effect' on the General tab of Process Definition - Task Properties.
    On page 7-18 of the Design Console docs it says:
    "When the disable action is chosen, all tasks associated with the disable action are inserted."
    Can someone elaborate on this? If I have four tasks, each with a Task Effect of 'disable', will they all fire if one of them does?
    Any hints, or documentation references, would be greatly appreciated. I am using OIM 9.0.3, btw.
    thanks,
    Kam

    Once the process tasks has been executed you can not delete it.
    check these links for more info.
    Deleting a Process Task
    Re: Remove Unused Process Tasks from Process Definition for Export

  • Executing OIM Process task based on Condition

    Hi Experts ,
    I have the following requirement :
    when a OIM user field - X is updated with a value A i have to call task T1, generate a random number on this task and have to trigger CREATE user Task within in the same process definition of an IT resource
    when the same OIM user field - X is updated with a value B i have to call task T1 again, generate a random number on this task and have to trigger DISABLE user Task.
    Im taking the approach of OIM lookup triggers which will kickoff the task T1 when user field X is updated
    My question is how can i add the conditional logic to a task(T1) to trigger the only one dependent task, either create user or disable user when a condition satisfies.
    currently i have added create user task and disable task as the dependent tasks of the task T1.
    If i am triggering create user task how can i get all the attribute mapping values of createuserAdp. since few are referring the process form, userdata and IT resource
    Im confused and not sure as how to implement such Work flow based on conditions. hope some one can help me!!
    Thanks in advance
    Edited by: user8942439 on Aug 24, 2012 11:58 PM

    Use the responses returned by task T1. Lets say for create user, Task T1 returns a response "CREATE". So in the responses tab add this response, select it and in the tasks to generate section add "Create user" task to this response. In the same way task T1 returns response "DISABLE", so on DISABLE response select task to generate Disable user.
    regards,
    GP

  • Regarding OIM process tasks

    Hi Guys,
    I am pretty new to OIM. I have installed AD connector and i am able to provision the user to AD. I have observed that Create AD User process definition has almost 25 process tasks. When i observed the tasks that are called after provisioning of user to AD i found that only four tasks are getting called. What about the rest of the tasks when they are called. Is there any way that we can know when these tasks will be called under what situation.
    What i want to know is there are mapping which specifies for which action which task to be called. Like for example if change password action is triggered Change Password process task is triggered. So which means there should be some where this mapping may stored which i want to know.
    Like i create a new process task and i want to call it when particular action is triggered.
    Any body help me in understanding this please.......

    Hi,
    Process tasks work the same in all processes, regardless of the adapter. This was designed on purpose so that a level of abstraction can be made between the technical details of connecting/acting on a target and the business process.
    So, in a nutshell, there are different kinds of tasks:
    1) Non-conditional -- these are tasks that run at the start of any process. To define order on these tasks, you must use the Task Dependency tab
    2) Disable/Enable tasks -- these are tasks whose Task Effect is either disable or enable. These tasks run whenever the OIM user is disabled or enabled, or when it is done manually. Same thing about order.
    3) Undo Tasks -- these are tasks that run when a particular task is undone. They typically run on a revoke, which runs all the undo tasks on the non-conditional tasks
    4) OIM/ACT/etc Triggers -- these are typically in the form "Change <attribute>" but they can be anything and are defined in the trigger lookups. They run whenever an attribute on the OIM user changes and that task exists in the process definition
    5) Form triggers -- they are in the form: "<Attribute name> Updated" This is hard coded and the attribute name must be the form description name (like "First Name", not UD_ADUSER_FIRSTNAME). These run whenever the process form gets updated for a particular field. They do not run on reconciliations
    6) Reconciliation tasks -- these tasks are run whenever a reconciliation event is processed and are defined in the Task Generated tab on the task definition.
    7) Attestation -- just like Reconciliation
    To see these visually, I suggest hitting the Render Workflow button... OIM separates each of these out for you in the tabs in that screen.
    Cheers,
    Deborah

  • Triggering Process Definition Tasks Based on Changes to Multiple Attributes

    Hi All,
    I'm in the process of creating a custom GTC connector to provision accounts to an LDAP directory. I've got more than 100 user defined fields with the user object in OIM and about 60 of them will be kept in sync with the user accounts in LDAP. When any of these 60 attributes get updated for a user, I would like OIM to update the attributes for the user in LDAP.
    I know I can add 60 "Change <field name>" tasks to the process definition. However, that would be very inefficient for what I'm trying to do due to the number of attributes I'm dealing with. Often during large reconciliations from the systems of record, multiple attributes will change for each user. So if 20 attributes change for a user in one transaction and I have separate tasks for each attribute, that would result in 20 LDAP updates rather than just one.
    So I'm wondering, is there a way to have one process definition task that will trigger when any of these 60 attributes get updated and include all the attributes and values that got updated in that transaction?
    Thanks

    Thanks for your response.
    I was actually hoping to not have to use a process form to store all the user data for the LDAP provisioning connector. I was hoping to have the "Change" tasks update LDAP directly. The GTC framework seems to want to create a process form to store the target ID, but I would like to avoid storing all the user defined fields there. My reasoning for this is simply to avoid having user data duplicated in another location, which can often lead to sync issues. However, with that being said, if the only way I can gain performance improvements is through storing all the data in the process form, I would be willing to do that. Do you have any suggestions on how I can accomplish the single LDAP modify for multiple attributes without storing all the user defined fields in a process form?
    But in any case, I've attempted your suggestion. I have created a few lookup definitions:
    Code Key | Decode
    USR_LAST_NAME | Change Multiple
    USR_FIRST_NAME | Change Multiple
    USR_LOGIN | Change Multiple
    etc....
    I've then added the "Change Multiple" task to the process definition. That task calls an adapter called adpTESTGTC_GTC. Now if I update last name and first name in the same transaction, I notice that the adpTESTGTC_GTC adapter gets called twice. So it seems like even though there's just one "Change" task, it will still get executed once for each attribute modified. So adpTESTGTC_GTC would essentially be performing the same work for each attribute (that is getting all the user data and updating the process form). Since both LDAP and the Oracle Database are external to the application server, I'm guessing X LDAP modifies is just as bad for performance as X updates to the process form, where X is the number of attributes being updated in the transaction.
    kevin.pinsky wrote:
    When the update completes, if any of the fields change, it will trigger your "Updated" task on your form for that field.I'm also not sure I understand your last sentence. Are you suggesting that I have one "Updated" task for each attribute that's being sync'ed with LDAP? If that's the case, then I'm still doing multiple LDAP modifies for one transaction, right? In the end, my goal is for a reconciliation process that updates up to 60 attributes for a user to just make one LDAP modify with the up to 60 attributes being updated rather than having a separate LDAP modify for each attribute. So if a reconciliation process updates 20 attributes for a user in OIM, I would like a single LDAP modify to update the 20 attributes for the user in LDAP rather than having 20 LDAP modifies that each update one attribute.
    Thanks for your help. I would appreciate any further comments or suggestions.

  • Task in Process Definition not Running when Trigger Automatically

    Hi All,
    I have created a task in Process Definition (eBusiness Suite User)and attached JAVA code to this task. Also i have triggered this task on C response of Email Updated Task . I also have Change Email Task which is mentioned in Lookup.USR_PROCESS.TRIGGERS lookup defination. so when Email id is changed in OIM Console it is triggering Change email Task and it is getting populate in Process form and as i am using Auto Save Feature .Email Updated task is geting Triggered. and Email is updated in FND_User table.
    Now my Problem is after Email Updated task is completed it is triggering my Task but my Task Is not getting Executed (JAVA code is not executed).
    But when I manually add this task from Resource History , JAVA code is getting Executed .
    What i founf is Email Updated task was triggered by OIMINternal User , So I add in Assignment tab to OIMInternal user , but no luck.
    Task is getting Triggered but is not getting Executed.
    Can any one suggest how i can run this task Automatiically.
    Please help. Its bit urgent.
    Thanks!!
    Regards,
    Tushar

    Once the process tasks has been executed you can not delete it.
    check these links for more info.
    Deleting a Process Task
    Re: Remove Unused Process Tasks from Process Definition for Export

  • Update a Task in a Process Definition

    I am trying to use the OIM API to update a task in a process definition. In the tcWorkflowDefinitionOperationsIntf, there is a method called updateWorkflow(WorkflowDefinition workflow).
    With this method, I am able to update the process definition to make it auto-prepopulate, auto-save, and default process.  Is it possible to update a task in a process definition with this method?

    A very simple example would be changing the description of a task.
    E.g. Design Console -> Process Management -> Process Definition -> Modify the description of "Email Updated" task in LDAP User process definition .
    I am wondering if I could use updateWorkflow(WorkflowDefinition workflow) to do the task above rather than using design console.

  • Mapping Adapter to a process task in process definition.

    Hi Guys
    My requirement is , Disable users associated with an organization when the organization is disabled.
    I have performed the following steps:
    1. In design console Lookup definition Lookup.ACT_PROCESS_TRIGGERS , I added a row
    ACT_DISABLED   DisableUSerWhenOrgDisabled
    2. Then I created process task adapter to recursively disable the users based on the organization name.
    3.Next I attached the adapter to a new task in process definition --> Xellerate User with the name DisableUSerWhenOrgDisabled(decode field in Lookup.ACT_PROCESS_TRIGGERS ).
    4.Then I mapped the Adapter variables to appropriate entities in the Integration tab.
    Now when I login into the admin console and disable an Organization , the adapter is not at all invoked.
    I am unable to get if I am missing anything.Kindly help in resolving this.
    Is this the correct way to achieve this functionality?
    OR
    Do I need to go for Entity Adapters.
    Thank you
    sas
    Edited by: sas on Jan 8, 2009 4:55 PM

    SAS,
    You only need one adapter. You can use one variable that maps the Organization Name. Using this value, you can use the tcOrganizationOperationIntf apis to get information about that organization. Once you get the disabled value, you can create your if statement based on the value of this task. If the Organization is not disabled, return a literal string like "NO_ACTION_REQUIRED". If the Organization is disabled, using the code i previously posted, or the code you have generated, to disabled all the users within the organization. If this task successfully completes, return the literal string like "ALL_USERS_DISABLED". If an error happens, i would return something like "ERROR" or something more descriptive. Then on your responses tab, you can add these values you are returning, along with a more descriptive value. Set the NO_ACTION_REQUIRED and ALL_USERS_DISABLED to a C status and the ERROR responses to a R status. Now when you map your adapter, map in your Organization Name and for your Adapter Return Value map it to the responses.
    As far as what you can do with responses. On the process task, the response tab, you can select the specific response, and then have it trigger another task.
    -Kevin

  • How can we call a task in process definition A from Process definition B

    Hi,
    Is that possible to call a task in process definition A from Process definition B?
    Thanks.

    Sure, as long as you can come up with the correct query to lookup the task key for the task you want to run.
    provIntf.addProcessTaskInstance(taskKey, processInstanceKey);
    -Kevin

  • Query to find dependent task attached to task on some response in OIM 11g

    can anyone help me in making a sql query to find dependent task attached to task on some response in OIM 11g
    Edited by: user13331347 on Sep 3, 2012 2:09 PM

    Use below query to find all dependent task in OIM 11g:-
    select pkg.pkg_name, mil.mil_name, rsc.rsc_data, rsc.sta_key, sta.sta_status, sta.sta_bucket, mil2.mil_name
    from     pkg pkg, tos tos, mil mil, mil mil2, rsc rsc, sta sta, rgm rgm
    where     pkg.pkg_key = tos.pkg_key
    and tos.tos_key = mil.tos_key
    and mil.mil_key = rsc.mil_key
    and rsc.sta_key = sta.sta_key
    and rgm.rsc_key = rsc.rsc_key
    and rgm.mil_key = mil2.mil_key
    order by pkg.pkg_name, mil.mil_name, rsc.rsc_data, sta.sta_status, mil2.mil_name

  • Remove Unused Process Tasks from Process Definition for Export

    Hi Everyone,
    I am trying to delete a process task that is no longer used in the process definition of our resource; however, I get an error indicating the "The task cannot be deleted it has schedule items". I would like to export the connector without this particular process task. Can anyone please provide any suggestions on how I can do this? Any inputs will be highly appreciated.
    Many thanks,
    Wendell

    Hi,
    As per my knowledge you cannot delete a process task, if the associated resource object has been provisioned to a user and the task which you wants to delete has been executed atleast once.
    But you can very well delete a newly created process task with which no user has been provisioned.
    Having said this, the workaround for your problem will be as follows.
    1.Remove all the adapters,task dependecies,status mapping,etc from the task (in current env)and make sure that it doesn't get invoked in any scenario.
    2.Now export this process definition to the new environment and before provisioning any user to that specified resource object , delete all the unwanted process task and save the process task.
    Hope this will solve your problem
    Regards,
    NS

  • OIM 11g API - Getting process form attached to a process definition

    Hi,
    Is it possible to get the process form name which is attached to a resource object ( through process definition) through API ?.Thanks.

    Even I have the same issue with PeopleSoft UM connector. Seems to be some generic issue. Did you able to find some answer to this?

  • How to create groups in AD using AD group process definition

    Hello,
    I want to create group in AD when i create group in OIM & i had achieved this using JNDI & was able to create groups in AD
    successfully,now i want to create groups in AD using AD Group process definition which contains create AD Group task.
    Can anyone suggest what flow should be followed to achieve this ?
    Thanks & Regards,
    Rahul Shah

    I think you can do R & D to acheive this via Event Handler.
    1. Apply Event Handler on Group Object Form.
    In Event handler class.
    2. get the parameter from ADITresource.
    3. Make JNDI call.
    4. Create the same group name in AD.
    There may be easy approach.
    Which version of OIM you are using?
    Thanks,
    Kuldeep

  • Process Id vs Task Id

    By any chance a number (say 5505) be assigned to a Process and a Task?
    When I search a task using its id (5505) , it appears as a running task in the search result.
    When I try to search processes using the same Id, it shows a completed process instance.
    How is this possible?
    From my knowledge, I'm assuming that the process id & task id shares a single unique sequence number. Am i correct?
    Nith

    This is expected and normal because Processes and Tasks are separate entities.  There will definitely be overlap as the values are assigned independently.  The first process id in the system will have a process instance id of 1 and the first task will have a task id of 1.
    FYI, for performance reasons, these ids are currently allocated in blocks of 100 so if you have a brand new 2 node cluster, one will be assigning ids in the range of 1-100 and the other will assigning ids in the range of 101-200.  This means that you can't depend on these ids to imply creation order (e.g. process id 111 could have been created before process id 11).

  • Form field check for calling Dependent task

    Hi Folks,
    Here is a scenario, I have a custom RO for which I have a Process Form (with Auto Save enabled), which had default values set for its form fields. User provisioning works fine.
    The process form has a child form for entering some role data with a single field(multi select/Lookup Field) which triggers a task for every insert, like wise for delete.
    I have also created a Request Dataset and Request Template for the same RO with a few fields. The Create Task gets called once the approvals happen and the user provisioning happens.
    Is there a way I can call the tasks that are triggered on the child from update?
    Or, is there a way I can check for a form field value before calling a task?
    I have a request data set as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <request-data-set xmlns="http://www.oracle.com/schema/oim/request" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.oracle.com/schema/oim/request" name="ProvisionResourceABC" entity="ABC" operation="PROVISION">
    <AttributeReference name="Domain" attr-ref="ABCDomain" type="String" length="50" widget="dropdown" required="false" available-in-bulk="false">
    <lookupValues encoded-value="abc.com" decoded-value="abc.com"/>
    <lookupValues encoded-value="abc.partner.com" decoded-value="abc.partner.com"/>
    </AttributeReference>
    <AttributeReference name="ABC Roles" attr-ref="ABC Roles" type="String" length="50" widget="ENTITY" required="false" available-in-bulk="true">
    <lookupValues encoded-value="Role0" decoded-value="Role0"/>
    <lookupValues encoded-value="Role1" decoded-value="Role1"/>
    </AttributeReference>
    </request-data-set>
    Any pointers appreciated.
    Thanks,
    Saiesh

    user9116351 wrote:
    Hi Folks,
    Is there a way I can call the tasks that are triggered on the child from update? In the provisioning process mark the task trigger as 'Update' on the child form and you should be good.
    Or, is there a way I can check for a form field value before calling a task?For this write a task and and adapter which would return true/false depending upon the check of the form field and then depending upon true/false attach the task to generate.
    >
    HTH,
    Bikash

Maybe you are looking for

  • Why does my Macbook OS X 10.4.11 keep quitting unexpedtedly and force me to shut down?

    I have had my Macbook OS X 10.4.11 since 2007. This issue happened once in 2008, and has not happened again until now. Recently, this happens almost once a day. No matter what I am working on, or how many windows I have open, my screen goes light gre

  • OrgChart 3.0 SP1

    Product Information Name OrgChart Version 3.0 SP1 Build 0701040400 Hi we are having problems bringing the the objects that where created with the language spanish. On listing we are only getting 8 results for a search that in R/3 is getting a lot of

  • Color in the text box

    hi friends, i am working on oracle forms 6i. I am having a text box with multiline. I used to display the values of 3 text boxes in to a single text box ( text box with multiline ). The values of the text boxes must be in different font color, so tha

  • Dose the "convert higher bit rate songs to" option effect my music on the computer?

    dose the option change the quality of the track on the computer library also or just on the device?

  • Chnage G/L account in PM Order Item

    Does anyone know how to change Plant maintenance order line item G/L account, when doing the item reservation. When we do manual reservation using MB21 we can assign the G/L account for specific item. But when we use PM order facility to material res