Query on Responses Tab in Process tasks

Hi *
I have a process definition for a resource object(GTC) which is already deployed, where there are some user defined responses added under responses tab of Process Tasks.
Like...
*Response Code: GCPROV.ADAPTER_FORMNOTFOUND
Response Desc: OIM Process Form not found in OIM
Status: R*
How to add these type of response codes and how they are triggered for example in above case?
How to create these type of OIM side responses?
I checked in error message definition, but didnt find these responses.
Thanks in Advance
Karthik.

Well Responses actually let you do these type of decision making logic at OIM level. Say you would the expect the code to process a requesting user's ID to get evaluated as a tragte user's manager or not. Now your adapter does the processing and returns TRUE and FALSE based on this decision. So what you will do in OIM is, map the FALSE to R and description like Only manager can raise requests. For TRUE youcan map to C and response like Request is created by a manager.
And for the default response sin GTC GCPROV.ADAPTER_DATE_PARSE_ERROR,GCPROV.ADAPTER_PROCESSNOTFOUND. They are some code generated responses which do come with the GTC xml's.
Thanks
Sunny

Similar Messages

  • Responce mapping in Process Tasks

    Hi,
    Is there a way,where I can map response between two process tasks? .I have the following scenario:
    1. Task 1 : Create User : This task is manual taks (no adpater is attached) and it will be assigned to a particular admin user.This task contains 2 responses .Approve and Reject.
    2.Task 2 : Create Application User : This task contains the adapter which creates the user.This task will be called once the user selects Approve in the previous task.
    The problem is that ,if the user approves and if my application is down,still my first task is showing as "Completed".
    If my second task retuns an error response,my first task needs to show that.Is there any way to implement this?.Thanks.

    Have you created a new version of the process form?
    Potentially you might have to create a new version of the object form as well (don't think so but worth trying)
    Best regards
    /Martin

  • Process tasks notifications

    Hello,
    in the design console, we can send notifications to assignee, requester, user and user's manager.
    Is there any way to send notifications to other people? a (dynamic) group for instance?
    Or should I write my own adapter which would call some custom code to send the email?
    Thanks.

    Hello,
    ok, looks indeed a better way than custom mail. however, if I create a task and assign it to a dynamic list of users (through java code adapter), won't that task be considered as a provisioning task? I don't want these users to go to OIM UI to do anything at that moment...
    Is there any sample code for a java code adapter of task assignment type?
    also, until now and your message, I didn't understand that the "adapter" column in the assignment tab of process task was there to provide custom assignees (http://docs.oracle.com/cd/E21764_01/doc.1111/e14309/promgt.htm#BCEJHFBF does not explain it...)
    thanks!

  • Query on responses in process tasks

    Is it possible that in the response for process tasks, the response description can include the change details that include what was the change made to the user(eg: details of the fields which were updated to the users, any profiles where added/removed to/from the user) which would help in auditing of changes.

    Hi,
    If you want user profile history for auditing then you have user profile history reports in OIM.Its keep the history of all the changes that happens on user profile.
    Regards
    Nitesh

  • How to make a process task to return a variable and a response code?

    Hello IDMers,
    I have written a ldap look up code to fetch the manager dn from Active Directory. I want to return a success Response code from this task completion. But I dont know how to do both at the same time, becuause my code returns Manager's DN name from AD and I also want a response code from this Task say- Success, so that based on that I can do something else??
    Please help me with this.
    Thanks.
    VSN

    You can return either of them individually but not more then 1 values at any time. Use the following approach:
    - Use the Manager's DN name wherever you want it in between the code and when the whole process succeeds then return a SUCCESS response code. Call next task as required.
    Thanks
    Sunny

  • OIM Process tasks Query

    Just wondering how the process tasks are related to the process form fields. E.g. where can I map that if the first name on process form is modified, OIM should trigger the 'First Name Changed' process task. I know about USR_PROCESS_TRIGGERS, but I am talking about the task which is mapped to the connector and is responsible for updating data in target application.
    Thanks

    if the first name on process form is modifiedIt triggers First Name Updated. It's architecture of OIM that it triggers 'Label Updated' task when you update Process Form. May be some event handlers are attached. Not sure 100% as didn't search for this.

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

  • 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

  • Process Task dependency issue in OIM 11g

    Hello,
    I created 3 process tasks (Task1, Task2 and Task3) .I would like to trigger Task3 when both Task1 and Task2 get completed status.
    So what I did is I put both Task1 and Task2 as depedent tasks in Task 3 "Task Dependecy" tab. In this case both Task1 and Task2 get triggered and completed , however Task3 is NOT triggering.
    Even I tried putting both Task 1 and Task2 as Preceeding tasks for Task3, still it does not work.
    Could you please let me know how can we trigger Task3 once both Task1 and Task2 completes.
    Thanks for you help.

    By Task Dependency you can just control the order of the tasks being executed but you cannot invoke/insert a target.
    Ideally what you did as suggested in the latter option is correct: Task1 and Task2 as preceding task of Task3.
    To invoke Task3, you can do multiple things, the easiest here would be to go to the Responses tab of Task2 select the response Completed and then in Tasks to Generate section add Task3

  • Process tasks execution flow

    Hi,
    * When a provisioning process starts, the first one is System Validation.
    * Next, all un-conditional tasks run.
    * Tasks can trigger additional tasks based on the mapping with the response code and these tasks run.
    I wanted to get clarified whether preceding and depedent tasks will tell us which tasks have to run prior to running the current or will they also add the list of tasks in the execution flow ??
    Thanks,
    Durgaprasad

    Hi,
    Yes, you can define the order of process task execution using preceding and dependent tasks. These tsk will be executed after the System Validation task is completed. And these task should be unconditional, preceding-dependent task tab does not work for conditional tasks.
    For example:
    You can have Create user task as a unconditional task and another Send mail notification to the user. Add this send mail notification task as a dependent task of the create user task. So when Create User task completed successfully , send mail notification task will be triggered. This is just for example, you can define task as per your requirement.
    Thanks,
    Pallavi

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

  • AD - 'Change First Name' process task is rejected by default - OIM 11.1.2

    Hi All,
    I wanted modification to be auto provisioned to AD account when user attribute is changed.
    For this created 'Change First Name' process task and made entry in "Lookup.USR_PROCESS_TRIGGERS" lookup def.
    I followed the link Enabling update for provisioned user in OIM11g
    When I changed first name of a user from identity console, 'Change First Name' process task is assigned to XELSYSADM. But the status of the process task is Rejected. Also, the changed 'First Name' value is not updated in the process form of the user. Hence the change is not reflected into AD.
    Please tell me why the status is Rejected and changes are not reflecting.
    Also, Please provide the solution to auto provision the modifications into AD.
    Thanks in Advance.

    Thanks much kevin,
    One more query.....
    In my case when 'city' attribute is changed its invoking 'Change city' which inturn invokes 'City updated' process. Now when city is updated I need to updated 'Organization Name' in AD process form and make it reflect in AD.
    For this, I created 'Change Org Unit' process task which will populate 'Organization Name' field in process form, so inturn it will invoke 'Organization name updated' process task.
    I made 'Change Org Unit' process task as dependent task for 'Change city', so once the 'Change City' process task status is 'C', it will invoke 'Change Org unit' process task.
    But, 'Change Org unit' process task is not being invoked.
    Could you pls provide me solution.
    Thanks in advance...

  • Execute process task argument is not working for sph file and ogr2ogr.exe

    Hi All,
    I am trying to load shape file into a sql spatial table. A execution process task is used to run the ogr2ogr.exe program.
    This is how the process tab looks like .
    Executable : C:\gdal_ogr2ogr\bin\gdal\apps\ogr2ogr.exe
    Argument :  -f MSSQLSpatial   MSSQL:server=SQL-ABC-DEV;database=MYSIMPLE_Dev;Trusted_Connection=True;\\mypath\files\shares\Data\www.mypage.htm\my_sample_file.shp
    Success value : 1 (I am not sure why I need to change this value from 0 to 1.
    For above settings, package runs fine. However the spatial table is not created always. It is created once in a while after switching Success value from 1 to 0 and 0 to 1 again. (After the spatial table is created, it is dropped using a execute sql statement). 
    I am running this in VS 2012.I saw in an article that we need to convert shp file to csv before we load it into sql server.I even tried to convert shp to csv using execute sql task and ogr2ogr.exe. Still the package runs successfully after changing Success
    value from 0 to 1 but no csv file is created. If the success value is 0, it throws the following error.
    [Execute Process Task] Error: In Executing "C:\gdal_ogr2ogr\bin\gdal\apps\ogr2ogr.exe" " -f CSV \\xxxxxxxxr.rdn\files\shares\xxx_Data\ImportData\www.xxxxxxx.hapepage.htm\xxxxxx\Watches\Warnings\myfile\CSV \\xxxxxxxxr.rdn\files\shares\xxx_Data\ImportData\www.xxxxxxx.hapepage.htm\xxxxxx\Watches\Warnings\myfiles\www.shp"
    at "", The process exit code was "1" while the expected was "0".
    Could long file name be a problem too?
    Thanks for your help in advance..
    shamen

    Hello shamen,
    Seems to me you are missing a step to check if the shape is there and purge it before loading if so.
    Arthur My Blog

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Is it possible to call custom designed RFC function module, apart from BAPI

    Hi Friends, 1.     Is it possible to call custom designed RFC function module, apart from BAPI. 2.     Why we call it Adaptive RFC layer, Since every time the JCO layer updated with SAP, Why can’t be dynamic. Thanx for Ur time. Cheers, Sam

  • What do I do after forced restart does nothing. Still can not use Ipad 2

    I have ipad 2 running the latest update on 8.  I was able to briefly turn on ipad last night, and then when I tried to use it , it would not do anything, nothing would open, therefore I forced closed. I have not been able to do a tyhing. I see apple

  • Thinkpad T20 docking issues

    My Thinkpad T20 will not power on after being undocked until it is docked again.  Battery indicator is 100% and Maximum Lifespan mode indicated.  Anyone else with this issue??  Any solutions?/

  • Getting error while using jaxb/xjc

    hello every one, i have a xsd and i want automated classes from it for which i am using jaxb and xjc compiler but when i am running it then i am getting error parsing a schema... compiling a schema... Exception in thread "main" java.lang.IllegalArgum

  • Solaris volume manager ; finding free space

    Hello Is there a way to find out the space available in a metadevice for creating new soft partions? I am looking for the equivalent of the following vxvm commands vxdg free vxassist maxsize Thanks in advance