Approval process in OIM 11g

Hi All,
I am newbie to OIM. I have a requirement with 2 levels of approvals in OIM 11g.
*1st level:* In the first level the Approver will be selected by the user(self service) from the drop down present in the custom UI.
*2nd level:* For the 2nd level Approval the 1st level appover should have the ability to select the next approver from a drop down list. The 2nd level approvers belong to a particular group.
All the approvers should be stored in a lookup table in OIM. When a user raises a request the custom application should get the values from the lookup table and populate the drop down for 1st level approvers. 2nd level approvers sholud be populated in the drop down during the 1st level approval process.
can any one suggest me the steps to achieve this.
Thanks

Task assignment in SOA are done via human task assignment i.e. the .task component in BPEL. Now this task assignment can use various features to compute whom to assign the task to.
1. Static: This is when you specify the group name or the user name directly into the task.
2. Dynamic : This is when you assign the approver to be a variable and in your SOA workflow before task assignment you assign value to this variable.
3. External Routing: This is when you assign a java code inside the .task to do all the assignment and escalations. When using this you can have complex implementations done.
What I meant by looping is that you will need to call this .task two times, first time of the first approver and second time (if the first approves it) for the second approver. Thus when you are inside the loop you need to get the appropriate value from the payload (payload is sent from OIM to SOA when you submit/approve the request) and set it into the appropriate variable so that .task reads that variable and assigns the task to that person.
I would recommend going through the BPEL developers guide for better understanding. Start with a simple process and see how it behaves when it runs and then pile on top of it.
-Bikash

Similar Messages

  • How to get details of Pending Approval request in OIM 11g R2?

    Hi,
    We need to find out following details from Pending Approval Request in OIM 11g R2 -
    Request ID,Assignees,Requested Resource Name, Title of Request, Beneficiary, Status of Request.
    Out of above attributes we could find out Assignees, Title of Request, Status of Request, Beneficiary, etc. But we are not getting Request ID and Requested Resource Name.
    We have used API - 'IworkflowServiceClient'
    If we use API - 'RequestService' then we are not getting Assignees and Resource name from Pending approval request.
    Can any one suggeste how can we get these details? Do we need to use other API or other alternative to get all of attributes from Pending Approval Request.
    Thanks.

    Thanks Kevin for your suggestion.
    In OIM 11g R2 I tried task.getIdentificationKey() to get Request ID and task.getSystemMessageAttributes().getTextAttribute6() to get requested resource name but I am getting null values out of it. Is there something I am missing?
    Which common thing I can use to retrieve data from both OIM and SOAINFRA? As I am not getting Request ID from 'IworkflowServiceClient' API so I could not use it to earch request in OIM using 'RequestService'. Even if I have to use query what will be common thing I can use to fetch data from both tablespaces?
    Thanks.

  • Custom Event Notification (email) for Approval Tasks in OIM 11g

    Hi,
    how to create event notification for approval tasks in OIM 11g. I mean how to send email notification to user who sholuld accept or reject approval task?
    best
    mp
    Edited by: J23 on 2011-05-30 04:08

    Here is the documentation http://download.oracle.com/docs/cd/E21764_01/integration.1111/e10224/bp_notif.htm#SOASE548
    Search for SOA BPEL Email Notifications for more information:
    http://soa-bpel-esb.blogspot.com/2010/01/email-notification-in-bpel.html
    http://download.oracle.com/docs/cd/B31017_01/core.1013/b28764/bpel013.htm
    There are many more search links that can help you out.
    -Kevin

  • Error in creating approval policy in OIM 11g

    hi...
    i am trying to create approval policy in OIM 11g. But after giving the details for first step, it gives the following error-
    "Approval policy validation failed with oracle.iam.request.exception. ApprovalPolicyServiceException:An error occured while searching request model <policy name>"
    Please let me know the coz of this error and the way to resolve it.

    If you are using JDeveloper , can you able to get class after giving "." .If yes no than it is the problem with the jar file you are using .Check whether you can able to import oracle.iam.authzpolicydefn.api.Feature.
    Thanks ,
    Animesh anand

  • Multi Level Approval Workflow in OIM 11g R2

    Hi everyone,
    I want to develope a two level approval workflow in OIM 11g R2.
    When I intent to provisioning a resource or an entitlement, this workflow will be executed.
    This workflow is two level (serial approval)
    First approver is manager of user, second approver is a custom group.
    Is there any sample workflow like this?
    How can I develope this?
    Thanks.
    Best Regards.

    Hi, you can find the same in oracle assets link.
    Download the guide for 11GR2.
    http://www.oracle.com/technetwork/middleware/id-mgmt/overview/workflow-development-1868162.7z
    Thank you,
    Shashi

  • How to pass the value from DB in Approval Policy Rule OIM 11g R2

    Hi,
    I need to get the value of rule condition in Approval policy from DB.
    Please let me know how to achieve this. I am using OIM 11g R2.
    Thanks

    How to passing the textbox value within the jsp page
    without using javascript or reload the page.No, jsp executes on the remoter server, the text box is on a client machine, you need to send information to the server over the network, http does this with a request, which will reload the page.....................

  • Approval Process in OIM

    Hi All,
    I am new to OIM. I tried creating an approval process for SUN Java System directory server.for this i create an task assignment adapter and added it to the Approval process. the problem here is that when i tried to assign the "Resource" through Requests tab on Admin interface to any user it goes to approver inbox but after approving the request user is not provisioned in the target resource.It shows nothing in the Resource profile page of the user also.
    Any pointer or help will be appreciated.

    Aaah....i think i was not able to explain my problem properly...let me explain you what i did...
    1. i have imported the connector for SUN java system directory server as explained on oracle site in Oracle by example.
    2. This connector have created the iPlanet user (provisioning) process for iPlanet User object name automatically having create process and no. of conditional processes (Disable user, enable user etc..).
    3. Now i wrote one Adapter having approval logic and attach it to one custom process of Approval type and assign it to iPlanet User as Object type. There is no table definition attached to it and when i tried to attach the available Form "UD_IPNT_USR" to it, it gives me some sdk error.
    After this i have tested the approval process in two ways...
    1. Through admin console (as xelsysadm), i have created a test user and assign this user to resource "iPlanet User" through Resource Profile combo tab. The user is successfulll provisioned with no approval required but i was expected that it should go to approver as per logic.
    2. In second scenerion, i assigned the resource through Request tab (Requests-->Resources-->Grant Resource). It goes to xelsysadm Pending approval items first and after this approval it goes to the other approver as per logic defined in adapter. After this approver approved the Request, it goes complete with no provisioning. I am wondering if i need to attach the Approval and Provision Process so that first it goes to approver and after approver approves it, gets automatically provisioned.
    Please look into the problem and suggest some solution. I am sure it should not be as tedious as i made it, but i don't have other option :(

  • Approval Task Title -OIM 11g R2

    Hi,
    How can we pull data related to resource being requested, UDFs as part of the Approval task title in SOA composite?
    Thanks.

    Follow below document to know more about OIM 11g Approval (It's for OIM 11g R1) or you can also follow OIM 11g R2 Developer's Guide:
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/oim/oim_11g/Request_Workflow_for_Self_Registration/request_workflow_for_self_registration.htm

  • Request based Revoke process in OIM 11g R2 PS1 ?

    Hi All,
         In our scenario , we are looking for Request based Revoke process in OIM 11gR2 PS1. In OIM 10g,we have Delete User Access flow seperatly where end user can request for revoking access of user from resource. In OIM 11gR2PS1 we have catalog based request process to request access for Roles, Application Instance and Entitlements.Same way it is possible to have request based revoke access in OIM 11gR2 PS1 where we can request for revoking access for Roles,Entitlements, Application instance , send notification and follow approval process for the same.
    Thanks,
    RPB

    Any helpful pointer on this ?

  • Send Email Notification to Assignees in Role Approval Workflow in OIM 11g

    Hi Experts,
    I am using a Custom Workflow for Role Approval in OIM (11.1.1.5.4). It is a two stage Approval Process.
    First level Approval is Requester's Manager and Second Level Approver are Role Owners(Two users who are Role Owner in OIM).
    I want to send a Email Notification to this Assignees when a request is assignd to them . So i have done Email configurations in SOA. and i am receiving Mail in English.
    But, the requirement is the mail's language should be dependent on Locale of these users.
    for example if locale of Manager is German then Manager should recieve mail of Request assigned in German Language.
    and after manager Accepts the request, Request goes to Role Approvers where we have two User, So mail should go to this two users according to their Respective Locale.
    So how can i achive this????
    Thanks!!
    TJ

    One option would be to create views and then use the oob daily alert for each manager. If the number of managers is too much, then you should consider a custom timer job. 
    Your suggested approach is possible, but has potential issues in execution. I'd suggest the timer job first.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • Self Register User Auto Approval Scenario in OIM 11g

    Hello,
    I was working on scenario of suppressing approval while Self-Registrating user, following steps were performed
    1) Export SelfCreateUserDataSet.xml using weblogicExportMetadata.sh
    2) Modified SelfCreateUserDataSet.xml [removed approver-only tag from organization attribuite]
    3) Imported SelfCreateUserDataSet.xml using weblogicImportMetadata.sh
    4) Restarted OIM & SOA server.
    5) Created approval policies i.e. Request Level & Operational Level bote with Auto Approve condition.
    6) Made a clone of Self-Register User template & added organization restriction & added Self Operator role.
    7) When tested above scenario then xelsysadm had to approve for request & operational level,organization was already selected ,so shouldnt it get approved
    automatically as i have mentioned Auto-Approve in approval policy ?
    Tested using following link:
    http://hostname:port/oim/faces/pages/USelf.jspx?E_TYPE=USELF&OP_TYPE=SELF_REGISTRATION&T_ID=Clone of Self-Register User
    Thanks,
    Rahul

    Hello,
    No i cannot see organization field as i have restricted organization to 'xyz' .
    My Issue is resolved & problem was that i had changed password of OIM,weblogic also updated boot.properties file in oim & soa,but for some reason my SOA was not working although SOA server was running,so changed password of SOAADMIN from EM,restarted all 3 servers & now my scenario of Self Register Auto Approve works.
    Now only thing i am curious is that when i self register user,it shows Request failed,but when checked in OIM user is created .
    Thank-You
    Rahul

  • Question related to Approval Process

    Hi All,
    I am a new bie to OIM.
    I have created a two level approval process.The user will have to select the first level approver while raising the request. We have a approver only field in the DataSet so that the first level approver can select the next level approver.The first level Approver logs in and selects the second level approver and then completes the first level approval.
    Once the second level approver approves it the request will be completed.
    I have used some common java code by creating a jar(to get the request details) and placing it in the composite instead of writing all the java code in "java embeded code".
    The two level approval process was working fine , but I have added loggers in the java code and now when I test the composite both the approvals are executed at a single time.
    The first level approval is getting completed by its own with out selecting the second level approver and there is an error in the second level approval. I have tried chaging the Priority of the approval policies also , but still the same issue.
    Please help me in resolving this issue. This is very urgent.
    Thanks in advance for your help.
    Thanks,
    PT

    Mark the approver only field as required.
    find the below link for more detail:
    Approval process in OIM 11g
    --nayan                                                                                                                                                                                                                                                                                                                           

  • Approval process creation steps using JDeveloper in OIM 11g R2

    Hi,
    Please help me to create approval process creation using JDeveloper and how to use the approval process in OIM provision in OIM 11g R2.
    Thanks in Advace,
    srini

    refer developer's guide to get the detailed steps. http://docs.oracle.com/cd/E27559_01/dev.1112/e27150/request.htm#BABFFJDH
    Also refer OBE tutorial http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/oim/oim_11g/Custom_Approval_Process_for_Resource_Request/custom_approval_process_for_resource_provision.htm#t3
    There will be slight changes in the steps as this OBE is for 11gR1.
    High level steps:
    Create a new application using the following command
    ant -f <OIM_HOME>/server/workflows/new-workflow/new_project.xml.
    It will be created in OIM_HOME/workflows/new-workflow/process-template/ directory
    Openthe .jws file in jdeveloper and edit the default human task and add whatever logic is needed.
    Then deploy the composite after which you need to create an approval policy and link the SOA composite created
    Edited by: Durgaprasad on Apr 24, 2013 1:55 AM

  • Sending email notifications in oim 11g approval flow dynamically

    Hi,
    I have 4 level approval workflow in oim 11g and developed custom composite to get all the approver ids and and assigning these ids into 4 variables.
    And used these variables in my custom 4 level sequential workflow. This workflow is working fine. Now I need to update this composite to send email notifications to the approver. So updated code to retrieve email ids and to store them in 4 more vairables. I cannot send all emails at a time thru the code. I need to send email only to the corresponding approver only when the flow reaches to that particular level.
    Subject and body will be same but the email address will vary.
    Can you please let me know the step by step process to implement notifications to these many levels.
    If you think, this is not correct approach (storing all email ids in variables and then sending notifications), please let me know correct approach.
    Thanks,
    Mary

    The way to do it would be to put your human task inside a while loop. This while loop would set a variable to the approver's userid and would continue till all the four approve it. In your human task you need just one approver and that would be the variable which the while loop sets.
    If you do it this way, then you can use the OOTB notification tab in the .task and select the 'Assignee' as the email notification receiver and you won't have to worry about getting the email ids as well.
    As for the current approach which you have, that is of using the sequential approvers in the human task, I haven't tried it, but just try setting the notification tab in the .task to 'Assignee' and event 'On Assignment'. That should do it as well.
    -Bikash

  • OIM 11g Approval - Infrastructer details

    Folks,
    I would be writing and deploying approval workflows in OIM 11g.
    Please guide me what all i need to set up before starting the develpoment .
    I mean what all softwares i need , any links etc would be helpful .
    I have OIM and SOA server installed and up .
    Regards
    Sid

    jdev is required, SoA composite editor
    follow below link
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/oim/oim_11g/developing_oim_custom_approval_process_for_self_registration/developing_oim_custom_approval_process_for_self_registration.pdf
    --nayan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for