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.

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

  • How to call OID delete user process task from AD process definition

    Hi All,
    I wanted to call OID delete user process task from AD process def. I have created a process task in AD Process def which will be integrated with OID Delete User adapter. How can i map OID related attributes to the adapter api?
    Expected inputs for OID delete api :
    root DN
    orgDN
    admin pwd
    server
    attr lookupcode
    XLOrgFlag
    sProcessInsKey
    UserID
    PDataOrg
    port
    AdminID
    SSLFlag
    here i cannot map some like : sProcessInsKey
    any pointers would be appreciated.
    Regards,
    Ashok

    OID delete user process task from AD process defWhy don't use call Revoke Resource API ?
    http://otndnld.oracle.co.jp/document/products/id_mgmt/idm_904/doc_cd/javadocs/operations/Thor/API/Operations/tcUserOperationsIntf.html#revokeObject%28long,%20long%29
    Use getObject API
    Iterate through resultset.
    If RONAME == OID User then call revokeObject

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

  • Does the Task Status Email Notification definition work for you?

    Hi,
    Have you ever set the email definition Task Status Email Notification? Worked?
    I've configured this template in my process tasks notifications. The e-mails for C and R status were sent OK but the values were all empty. Below are the subject and body of this email definition.
    Subject
    Process task <Process Definition.Tasks.Task Name> is <Process Instance.Task Details.Data>.
    Body
    The Process task <Tasks.Task Name> is <Task Details.Status>.
    The details of this process task are as follows:
    Process Task Name: <Process Definition.Name>
    Process Task Status: <Task Details.Status>
    Resource Name: <Resource.Resource Name>
    Target User: <Users.First Name> <Users.Last Name> [<Users.User ID>]
    Assigned to: <Process Instance.Task Information.Assignee First Name> <Process Instance.Task Information.Assignee Last Name> [<Process Instance.Task Information.Assignee User ID>]
    Response Code : <Responses.Response>
    Response Description : <Responses.Description>
    Error Details : <Task Details.Reason>

    Thanks for your attention.
    For all custom process tasks I have set this definition to notify the target user, for example, when the task is Completed or Rejected. For all all I've got the same problem: the notification e-mail is sent but the values are all empty.
    I thought the tags were based on the fields returned by the getProvisioningTaskDetails that returns the information below. But you can see the tags are different from.
    Process Instance.Task Details.Key
    Process Instance.Task Details.Type
    Process Instance.Task Details.Status
    Process Instance.Task Details.Data
    Process Instance.Task Details.Reason
    Process Instance.Task Information.Assign Type
    Organizations.Key
    Process Instance.Key
    Process Definition.Name
    Process Instance.Descriptive Data
    Process Instance.Task Details.Projected Start
    Process Instance.Task Details.Projected End
    Process Instance.Task Details.Actual Start Date
    Process Instance.Task Details.Actual End Date
    SCH_REASON
    Process Instance.Task Details.Updated By
    Process Instance.Task Details.Update Date
    Process Instance.Task Details.Row Version
    Process Instance.Task Details.Action
    Process Instance.Task Details.System level
    Process Instance.Task Details.Creation Date
    Process Instance.Task Details.Created By
    Process Instance.Task Details.Note
    Process Definition.Tasks.Key
    Process Definition.Tasks.Task Name
    Process Definition.Tasks.Task Description
    Process Definition.Tasks.Days
    Process Definition.Tasks.Hours
    Process Definition.Tasks.Minutes
    Process Definition.Tasks.Milestone Datalabel
    Process Definition.Tasks.Disable Manual Insert
    Process Definition.Tasks.Responses.Description
    Process Instance.Task Information.Updated By User Key
    Process Instance.Task Information.Updated By User ID
    Process Instance.Task Information.Updated By First Name
    Process Instance.Task Information.Updated By Last Name
    Process Instance.Task Information.Assignee User Key
    Process Instance.Task Information.Assignee User ID
    Process Instance.Task Information.Assignee First Name
    Process Instance.Task Information.Assignee Last Name
    Process Instance.Task Information.Assignee Email
    Process Definition.Tasks.Responses.Key
    Process Instance.Task Information.Row Version
    TLG_KEY
    Status.Category
    Groups.Key
    Groups.Group Name
    Thanks,
    Renato.

  • 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

  • I just updated firefox TODAY 8/17/11 and after the update i can't open firefox unless i restart my computer or i delete going to windows task manager and process, also i can't open a new window, it won't allow it. please can you help me

    I just updated firefox TODAY 8/17/11 and after the update i can't open firefox unless i restart my computer or i delete firefox going to windows task manager and process, also, i can't open a new window, it won't allow it. please help me, everything works on IE, Google Chrome and Safari, everything went wrong after the update

    Hey Elaine07!
    I have an article here that can help you with that issue. This article will help you make sure you have uninstalled iTunes correctly and help you troubleshoot the launch issues you are seeing:
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/ts1717
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • 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

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

  • Process Definition: Trigger on a Child Table

    Let's say I have a Process Definition named "Process one" (of type provisioning).
    My process contains a task, that has following options set on the 'General' tab
    Child Form = 'CHILD_FORM1', trigger type = 'Insert'.
    What does it mean?
    1) This task conditionally fires when something is inserted into CHILD_FORM1 table or
    2) This task performs some actions that are connected with inserting values into CHILD_FORM1 table?

    I think if you want to consider an efficient solution, I would look at not implementing your requirements using triggers. If possible consider an API approach where whatever "applicaiton" is being used calls a PL/SQL package that will update both tables if necessary. There are a number of disadvantages to using triggers.
    HTH!
    Edited by: Centinul on Jan 2, 2009 11:48 PM
    Check out this recent thread on triggers: Should one really avoid triggers???

  • Error while updating ADF task

    Hi, I'm using an initiator Task with ADF Form in BPM process with SOA version 11.1.1.6 and JDeveloper 11.1.1.6 and everytime I try to update the task I get this error:
    ORABPEL-10101
    Error while updating task .
    Error while updating task Cannot delete Comments.
    Check the underlying exception and database connection information. If the error persists, contact Technical Support Services at Oracle.
    at oracle.bpel.services.workflow.repos.driver.WFTask.updateComments(WFTask.java:5384)
    at oracle.bpel.services.workflow.repos.driver.WFTask.updateWFTask(WFTask.java:2712)
    at oracle.bpel.services.workflow.repos.driver.PersistencyService.updateWFTask(PersistencyService.java:630)
    at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperationInTrans(TaskService.java:6586)
    at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6306)
    at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6277)
    at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6253)
    at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6235)
    at oracle.bpel.services.workflow.task.impl.TaskService.updateTask(TaskService.java:2088)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    I think this might be related to the task comments and with an internal method calling, but can't solve it in any way I know,
    I've tried to remove the userComments from the Task Form, and remove anything associated with it, but everytime I try to savbe the task it gets this error
    thanks

    Hi,
    here's the correct forum for this question: SOA Suite
    Frank

  • 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

  • Firefox won't close without using Task Manager - end process; can't start in safe mode or disable add-ons

    I've been having a memory leak/hanging problem for weeks -- FF slowly increases memory usage until it's at almost 100% and then freezes and I have to shut it down via Task Manager/end process.
    Last week I updated to FF 12, and I also added the Web Developer 1.1.9 add-on. Now every time I open Firefox it tries to go to the "Web Developer installed" page, but the page never loads. Nothing else will load either.
    I can't start in Safe Mode because of the problem with having to close it in Task Manager. I select "restart with add-ons disabled" and it just never opens. The Add-On manager page won't load, so I can't disable Web Developer to see if that's the problem.
    I've uninstalled Firefox and reinstalled, and it still goes right back to the Web Developer page when I open the freshly installed copy.
    Help, please!

    Have you already tried clearing the browser cache, opening a blank tab, and trying to open some other website ?
    * [[how to clear the cache]]
    Instead of trying to open safe mode from within the User Interface menu have you tried alternative methods such as holding the shift key when you start Firefox. (After checking for running Firefox processes or plugincontainer and killing them if found )
    * see [[safe mode]]
    * [[firefox hangs]]
    If using safemode does not help first of all try creating and using a new profile.
    * [[Basic Troubleshooting#w_8-make-a-new-profile]]_8-make-a-new-profile
    If all the above fail then try a clean re-install of Firefox
    * [[Basic Troubleshooting#w_7-reinstall-firefox]]_7-reinstall-firefox

Maybe you are looking for

  • How to retrive more than one row value from table

    hi,   I had create one table if i entered value in more than one row, the second row override the first row value and while printing it in flat file i am getting the second value entered twice.   i created one context for each column.     plz provide

  • How to make standard DSO available for reporting?

    In previous version I have Bex setting to make ODS for reporting but in new DSO I don't see this kind of seeting. Any Idea? Actually I want the DSO in the query designer to create an adhoc report. Thanks in advance. York

  • Apple TV remote doesn't work with my 4s anymore

    Why does the Apple TV remote app not work with my 4s anymore?

  • Urgent -please- how can I insert my context into proxy request ?

    here is par of my request after I have transformed it, to the bs request. Routed Service           Route to: "SkatEtilAndelsbogAnmeldelseSvarService"      $outbound:      <con:endpoint      name="BusinessService$dk.skat.etil$bz$SkatEtilAndelsbogAnmel

  • Unable to update to Camera Raw 2.7

    neither iPhoto or Aperture recognize if a 2.7 update's been done. I go through system update, and I'm told I'm up to date. I can't remember applying the update or not