Trigger another Process Task after Enable User completed

I would like to have a process task trigger after the "Enable User" process task successfully completed.
E.g. Scenario
A user currently has a disabled resource. When I enable the user, the Enable User process task
gets called and enables the user. After that I would like to have my custom process task triggered after that.
I tried adding my custom process task in the Enable User task as a dependent task, but it never gets called.
Also, I tried adding the custom task to Tasks to Generate but that did not work.
What am I doing wrong or am I missing a step?

Instructions:
Goal: When 1st process task is triggered, the 2nd process task will kickoff.
1. Select the 1st process task
2. In the Task Dependency Tab of the 1st process task, add the 2nd process task in the Dependant Task section.
3. In the Responses Task of the 1st process task, select the SUCCESS response and add the 2nd process task in the Tasks to Generate section.
IMPORTANT: Each response has its own Task to Generate. So make sure you add to the response you want the 2nd process task to trigger off by.

Similar Messages

  • How to call Process Task in AD User proccess definition from Xellerate user

    Hello,
    I need a help from you guys.
    I have one customized process task in "Xellerate User" Process definition. When my this task executes completely, I would like to call one of the customized process task in "AD User" process definition from xellearte user. Is there any way we can do that?
    Thanks for your any help....

    There are lots of ways to accomplish this. I haven't read through the other posts, but here are a few options.
    Option 1 - Create a second task that also triggers at the same time, but set the task you already have as preceding. Then on your second task, write whatever code is needed to update a field, insert a new task, whatever the function is that's needed.
    Option 2 - On the completion response of your original task, just use the response code to trigger the second task from running. Then again, write whatever code is needed.
    Option 3 - Create a UDF on your user form. Add this field to the Lookup.USR_PROCESS_TRIGGERS. When your first task completes, use the APIs to update this field with a new value, perhaps the current date. On your AD Process Definition, create a task with the name you used in the lookup. This task will get triggered whenever the field is updated. Now if the user does not have an AD Instance, you don't have to worry about it ever running.
    I'm sure you could create other event handlers as well to do this, it just depends on how creative you want to be.
    -Kevin

  • How to trigger a process task on IT Resource process form

    Hi,
    I want to know how to trigger a process task on IT resource process form using OIM API.For Example:- If a task ilike an e-mail is to be sent on the departure date of a user.So,how can it be done using API?
    Thanks.

    This would typically be done through a scheduled task. Write your code to query for the departure date. If someone meets your criteria for an action to occur, you can either use the addProcessTaskInstance which has an adapter attached to it to send the email, or in your code, send the email.
    The details that need to be considered though is where the departure date is stored. Is it on a process form, or is it on the user's OIM profile. Do you want to disable the user or revoke the object instance at this departure date? You could use the notification tab of these existing tasks if so.
    -Kevin

  • OIM 11g changing process tasks on Xellerate User

    Hi all,
    I am trying to send an email when an OIM user gets disabled. To do this i would like to set the Notification for the "Disable User" process task on Xellerate User.
    However, any attempted change to the process tasks gives this error:
    The security level for this data item indicates that it cannot be updated.
    Update failed.
    Update failed.
    Adding a post-update event handler doesn't work in 11g anymore as well.
    What would be the suggested way to send emails and fire adapters on changes to the user profile?
    Thanks for your thoughts.

    Hi Kevin,
    I got it working by creating a new process task with task effect: Disables Process Or Access To Application
    That process task had an adapter attached that would send the mail.
    After your comment I went on to experiment with the notifications. Earlier i couldn't get them to be sent, but after creating a new process task (setting the tcCompleteTask handler and the notification) it started sending the emails. And now I don't need the custom adapter anymore.
    Not sure what changed, thanks for your input.

  • Trying to reinstall Acrobat Pro X from disc onto win 8.1 system. (Previous installation got corrupted) Continually getting message 'Acrobat has detected another process which has not yet completed-'. Have now closed system both cold (full shutdown) and wa

    Trying to reinstall Acrobat Pro X from disc onto win 8.1 system. (Previous installation got corrupted) Continually getting message ‘Acrobat has detected another process which has not yet completed…’. Have now closed system both cold (full shutdown) and warm (restart) over 10 times. Every time I go to reinstall I get message.

    I would run http://labs.adobe.com/downloads/acrobatcleaner.html and delete any Acrobat folders that have been created, then try again. Be sure to log in as the administrator and disable anti-virus when you have problems like this.

  • How to run process tasks in Xellerate User form sequentially

    I have 2 tasks in the process definition of Xellerate User. One triggers on change in department and the other triggers on manager change. I want the manager task to trigger first and then the department task to run after the values have been updated in the former task. It so happens that always department task is getting triggered first.
    I cannot have task dependency in Xellerate User form. I tried setting the response code in the manager task and have it generate department task. In this case the department task is triggered twice. First time it runs before the manager task. The second time since it is a task to run in the response code of manager task.
    How to make each task run once and have it done sequentially?

    Yes that was my first instinct but I need the old and new values of department and manager. That is possible when I make it a process task.
    Heres what I want to do-
    If there is a change in department of a user, send mail to manager with old and new department values.
    If there is a change in manager when department changes, send mail to old and new manager with old and new department values.

  • How to trigger a process chain after R 3 job

    Hi All,
    We have a requirement to trigger a process chain immediately after the completion of R 3 job.
    could you please give me your input in this regard.
    rama

    Try to Search first.  This has been discussed a lot in this forum.
    Try these:
    Triggering a Process Chain From R/3 pgm
    There is even an OSS Note on how to do this:
    Trigger process chain using event

  • Can we add process tasks to Xellerate User process?

    Hi,
    Can I add a process task- unconditional one to "Xellerate User" process definition?
    I want certain fields to be populated in User Profile Form, when the user is created/updated.
    Please advice

    I could manage to trigger the Xellerate User Process Task and it runs fine, but when trying to update the OIM user field, it throws the below error:
    oracle.iam.platform.authz.exception.AccessDeniedException: You do not have permission to modify the [USR_UDF_IPWD] attributes of the user with user key null.
    at oracle.iam.identity.usermgmt.impl.UserManagerImpl.modify(UserManagerImpl.java:830)
    at oracle.iam.identity.usermgmt.impl.UserManagerImpl.modify(UserManagerImpl.java:971)
    usrManager.modify("User Login",sUserLogin.toString().toUpperCase(), new User(null, usrDetails));
    usDetails hashmap contains the key, value pair which needs to be updated.

  • Trigger a process task based on Lookup Value

    Hi Everyone,
    We have a requirement like for one of the custom adaptors,we have
    The Process form has the below five attributes
    i)First Name----(String)
    ii)Last Name----(String)
    iii)Location----(Lookup)
    iv)Address----(String)
    V)Mobile-----(String)
    The attribute Location is a lookup Field.
    in Location we have
    Code Decode
    Chennai Chennai
    Bangalore Bangalore
    Delhi Delhi
    Mumbai Mumbai
    NOw if i select chennai in the location lookup.I want to trigger a seperate task from process definition.
    How can this be achieved?
    Regards,
    Naveen

    you can't achieve dynamicly using process task.
    if the value of that lookup is limited and known then you can design like below(Static)
    1. create a process task adapter which takes one string input(location) and return the same. update response for each location values
    2. create task called Location updated or if this task is there for update location value in target system then leave as it is
    3. create a new condiional task "call task based on location" . attach newly created adapter. pass location attribute as input and map return value with response code.
    finally attach this task on the success response of "Location Updated" task
    4. now you have response for all location . so attach respective task on each response.
    Note: if there is no Location Updated task present then create "Location Updated " task and directly attach above adapter on this task.
    --nayan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to catch rollback in Disable user process task in Xellerat User Process

    hi ...
    I want to send an email to manager group of the user, once the user is disabled from the OIM (when end date is reached). I created an adapter and attached it to the ‘Changed User Disabled’ process task in the ‘xellerate user provisioning’ process and add a new row in the “Lookup.USR_PROCESS_TRIGGERS” Lookup definition. (code key: USR_DISABLED and Decode: Change User Disabled ). This adapter executes only when the user status is equal to “disabled”.
    This works correctly when the OIM user disabling process execute without any errors. But sometimes while disabling the user it gives an error (“resource is not configured properly”) and rolls back everything and make the user active. But at the same time my adapter runs and sends the mail informing user is disabled but yet user is active.
    My problem is how can I find or catch rolls back transaction in the “Disable User” process task (which is in “Xellerate User” process”) ??? If I can get to know that a roll back is occurred then I can send a mail to OIM administrator, informing that user disable process is failed.
    Can someone please help me to find this..
    Thanks in advance :)
    Regards,
    i.k.

    Hi Rajiv,
    Error occurs while disabling the user due to resource configuration problems. ( error message is : DOBJ.RESOURCE_NOTCONFIGURED_PROPERLY -- One or more provisioned resource is not configured properly) In this case i know the problem and how to solve it. But what I want to know is in any case if disable process get fail and if things get roll back again, then how can I track that situation and send a mail to OIM Admin(informing the failure) instead of sending a mail to user managers saying that user account has been disabled.
    I think now my problem is clear…. Can u please help me to find this.
    Regards,
    i.k.

  • How-to trigger an ABAP program after a user logs on?

    Does anybody know if it is possible to trigger an ABAP program just after a users logs into the system?
    Thanks
    Ioan

    The function module is EXIT_SAPLSUSF_001.  The include program is ZXUSRU01. 
    Just put your SUBMIT statement in this include program.
    Regards,
    Rich Heilman

  • Process tasks of "Xellerate User"'s  modified

    Hi Experts,
    In our env, Maapng info of all custom process tasks was updated to unmapped. Its happend for only Xellerate User resource object. we dont know, how it happend. Can ay one tell, any reason behind it. Last change in OIM is, installation of RACF connector into OIM. How ever, we are not sure, is this effects the Xellerate user's process task's adapter mapping information.
    Please suggest.
    Thanks,
    ravi.

    Hi Kevin,
    Yes, It was unmapped, We are looking for root cause of it. You meant to say, This unmapped thing was happend due to RACF connector installation?.
    Thanks.

  • Disabling user through API call -process task-followed by an Enable User...

    Hi,
    I am running on OIM 9.1 BP11. I implemented a process task to disable the user based on a URS form field change.
    I can confirm from the log file and the resource that the Disable user (xellerate user) happened. But the user got enabled back right away. The log file showed that a scheduled task named "Enable User After Start Date" ran and enable the user. So, I disabled that scheduled task.
    Then I repeated the test again. I observed the same behavior of user being disabled and enabled again but this time, OIM called an adapter. This is what I observed in the log file:
    20988 INFO,20 Oct 2010 12:21:56,519,[XELLERATE.DATABASE],DB read: select evt.ev t_key, evt.evt_name, evt.evt_package, mil.mil_name from mil mil, evt evt w here evt.evt_key = mil.evt_key and mil.mil_key=10
    20989 DEBUG,20 Oct 2010 12:21:56,519,[XELLERATE.DATABASE],select evt.evt_key, ev t.evt_name, evt.evt_package, mil.mil_name from mil mil, evt evt where evt. evt_key = mil.evt_key and mil.mil_key=10
    20990 INFO,20 Oct 2010 12:21:56,519,[XELLERATE.PERFORMANCE],Query: DB: 0, LOAD: 0, TOTAL: 0
    20991 DEBUG,20 Oct 2010 12:21:56,519,[XELLERATE.SERVER],Class/Method: tcBusiness Obj/getSqlOperationFromMembers entered.
    20992 DEBUG,20 Oct 2010 12:21:56,519,[XELLERATE.SERVER],Class/Method: tcBusiness Obj/getSqlOperationFromMembers left.
    20993 DEBUG,20 Oct 2010 12:21:56,519,[XELLERATE.ADAPTERS],Class/Method: tcADPCla ssLoader/getClassLoader entered.
    20994 DEBUG,20 Oct 2010 12:21:56,519,[XELLERATE.ADAPTERS],Class/Method: tcADPCla ssLoader/getClassLoader left.
    20995 DEBUG,20 Oct 2010 12:21:56,520,[XELLERATE.ADAPTERS],Class/Method: tcADPCla ssLoader/findClass entered.
    20996 INFO,20 Oct 2010 12:21:56,530,[XELLERATE.ADAPTERS],Adapter: Enabling the User was initiated for the task: Enable User.
    20997 INFO,20 Oct 2010 12:21:56,531,[XELLERATE.JAVACLIENT],System Event Handler : Enabling the User
    I did exactly the same disabling user process at another client and it worked fine. I don't understand what causes OIM to call this system Event handler to re-enable the user.
    Please help.
    Thanks
    Khanh

    Do you have any Entity Adapter or Event Handler or Trigger which enables user for some condition ?
    Check your environment. If you have please remove that and try.
    Does this user has and provisioned resource ? If yes, try for some other user which doesn't have resource provisioned.

  • User completes approval task but system is not marking it completed

    My SP designer workflow has intermittent issues completing the task after the users does their part.  We've taken one of the web servers out due to the thought that the sessions were getting split up (IIS logs showed this happening) between the
    two servers, but the issue resurfaced today.  This user completed one task no problem, but when he completed the next task shortly after the system didn't finish up the second task so it 'stalls' (that's what I call it).  The stalled task
    doesn't get completed so the workflow doesn't move on.  I'm out of ideas.
    I've searched but can't find any reference to this behavior with approval tasks.  It is pretty straightforward OOTB approval processing but has intermittent issues.
    Anyone??
    thanks - Carlene

    Hi Victoria,
    Thank you for your reply.  Here are the responses to your questions:
    No, there are no errors in the workflow when the task is not completed.  I've turned on versioning in the task list and versioning shows the user modifying the task but the 3rd step of the system marking the task complete isn't occurring.
    No, the issue occurs intermittently which has made it almost impossible to figure out the cause.
    Creating a new approval workflow with the exact steps is really labor intensive unless we copy and modify it.  This has not been done.
    We've been looking at the ULS logs and the Workflow trace logging and what we recently discovered is an Access Denied error which has been narrowed down to a possible expired User-token and look-up to another domain by the initiator's ID.  All of our
    users are in domains other than the domain the SharePoint servers are in but there are two way trusts established.  We have since moved the approval processing step into an Impersonation step in the workflow which runs under the system account. 
    We are now watching and waiting to see if this will help.
    Another thing to note is all our users are granted access to SharePoint through AD groups which are then added to SharePoint groups.
    We are working with Microsoft on this and hopefully we can get it resolved. When we do I will post the outcome, in the meantime I welcome any other suggestions.
    Thanks - Carlene
    Carlene S.

  • Trigger a process chain when user clicks on save button in web interface

    Hi All,
    This is a issue I'm facing with the BW BPS web interface.
    BPS web interface generates a BSP application so thought posting this question in BSP forum might get some responses.
    The issue is I have to trigger a process chain when the user clicks on the save button on the web interface.
    I have no clue how BSP works. So if anybody has any ideas or suggestions I would greatly appreciate it.
    Thanks,
    Harini

    Hi Dhanya,
    This is the code i have in the ABAP program in the process chain. I just included the API_SEMBPS_POST part, but still it doesn't work. Please give me your email address so that i can send some screenshots.
    REPORT  ZHTEST.
    DATA: l_subrc TYPE sy-subrc.
    DATA: ls_return TYPE bapiret2.
    CALL FUNCTION 'API_SEMBPS_POST'
    IMPORTING
       E_SUBRC         = l_subrc
       ES_RETURN       = ls_return.
    CALL FUNCTION 'RSAPO_CLOSE_TRANS_REQUEST'
      EXPORTING
        I_INFOCUBE               = 'ZMAP_TAB'
    EXCEPTIONS
      ILLEGAL_INPUT            = 1
      REQUEST_NOT_CLOSED       = 2
      INHERITED_ERROR          = 3
      OTHERS                   = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

Maybe you are looking for

  • How to remove fragmentation in a table?

    How to find fragmentation in a table? How to remove fragmentation in a table?

  • Opening New Window for the file

    Hi Everyone, I have a requirement, where in the client has policy file, which is made to display when clicked on a link. But the problem is, the pdf policy file opens in the same window. If the user closes the pdf policy file window, the connection t

  • Selection of 0CURTYPE in a copa datasource

    Hi everybody, I'm being asked to give a hand to a colleague of mine.... he has a problem with the copa datasource...Unfortunately i've always worked on extraction from modules sd and mm... and I don't know how copa exctraction works... I've found a l

  • Error    java.lang.Exception: IOException in sending Request :: No rou

    hi Error java.lang.Exception: IOException in sending Request :: No route to host: connect this error occur when i open the EM every time, all my dba_users accounts are unlocked & when i tried to get the monitoring configuration the no item found disl

  • BAPI_INSPECTIONPLAN_CREATE -Program for uploading data

    Hi, we are having some difficulties in loaing data through LSMW -Direct input method. I want to use BAPI_INSPECTIONPLAN_CREATE for uploading my data. I am new to this type of loads.Any ideas? regard Praveen