Customizing OIM request or approval task pages

Hi,
I need help in changing the layout of a particular screen in OIM 11g R1.  Below is the scenario:
User submit request.
Request is assigned to corresponding manager(s).
If request is assigned to multiple managers, one of the managers will ‘Claim’ the request.
Manager opens the request details and click on ‘Additional Information’.
Request is again assigned back to requester.
Requester will open the request from ‘Approval Task’ to submit additional information to approver.
In this page, request is divided into two parts i) Basic details, Additional Request details, Request information ii) Role/Request details.
By default, ‘Additional Request Information’ response section can be completely viewed using scrollbar OR can be dragged down. But our requirement is to align the page such that no adjustment should be made to page to view complete content of the page.  Can anyone let me know how to do this?  I wanted to know in which request/approval task ADF pages files (JSFF) are available to customize. I could see only user page (JSFF) to customize, but not related to request/approval task pages.
- Kalyan Mutya.

Pending Tasks works in the following manner:
- User : Any task assigned to a user remains to be visible under its pending tasks unless re-assigned to someone else by the user/admin.
- Group : Any task which is assigned to a group would not directly come to the user work flow. Whenever you login to OIM, the system checks all your groups and then do a smart calculation for these assigned tasks. So if the user is removed from a group then it would not see these tasks anymore.
Now for your case, the Group=Business Owner itself is changed. So for new requests the assignment would be to done to the new group but existing tasks remains in the work-flow of the older group, if still required them you might want to re-assign it using OIM API's.
Thanks
Sunny

Similar Messages

  • Need sql query to get OIM request pending approval details for one user

    HI OIM Guru,
    It would be great help if someone can provide me sql query by which i can find out how many requests are pending for approval for one user ?

    1. Below query will give you status of all the request.
    SELECT REQ.REQUEST_ID , REQ.REQUEST_STATUS FROM REQUEST REQ
    2. You can have following status
    Obtaining Operation Approval
    Obtaining Template Approval
    Operation Approval Approved
    Operation Approval Rejected
    Post Operation Processing Initiated
    Request Approval Rejected
    Request Closed
    Request Completed
    Request Created
    Request Failed
    Request Withdrawn
    Template Approval Rejected
    3. Now prepare the query from above sapmle, the requset status string should not contains foloowing values.
    Rejected
    Failed
    Closed
    Withdrawn
    Completed
    The builded query will give you the desired result for 11g
    for 10 G
    Get the OST_STATUS from Req table, and do you logic above stated
    -Kuldeep
    Edited by: Kuldeep on May 22, 2012 1:04 AM

  • How to trigger provisioning - after approval task failed but data corrected

    Hi,
    We have a situation where the approvals are provided for the requests but approval task failed(denied) due to misconfiguration. But really all the approvals are provided by the required personnel. So, we need to manually correct the data and trigger the provisioning. Could you please advise on how to manually/otherwise trigger the provisioning in this scenario
    Thanks,
    Sudhakar

    Thanks Kevin. We could locate these requests and update the records in DB. But wasn't sure if we can trigger the automatic provisioning from there. I was thinking there may be a way to restart the workflow/provisioning from the point where it failed. That would be a nice feature to have.

  • Email notification in approval task not working

    Hi Experts,
    We are trying to use email templates, to trigger emails for role requests on Approval task as below.
    As if we raised request to the role, It is triggering the Notification Task, executing the Log Notification task in Provisioning frame work, but not triggering Email, From notification switch task, it is going to Else statement as Unknown notification type instead of Email.
    When I checked the table mxpv_audit_variables with the request audit id, no entry created.
    Can please suggest how to fix this,
    Many Thanks,
    Jaya

    Hi Chris,
    Thank you very much for your reply.
    We are forming the work flow like this.
    First we are setting the Manager as approver.
    If assigner=manager, it should do auto approval.
    we configured auto approval.
    but the problem is after auto approval, for notification we are writing a job, instead of using assignment notification.
    is this possible to sent autoapproval mail without writing separate job?
    Regards,
    Jaya

  • How to get the group key, which an approval task assign to

    Hi,
    When a user is assign to OIM Group (i.e. from User Detail >> Group Membership form), I will call an approval process (using Access Policy).
    In that approval process, I have defined two tasks.
    1) Assign Approval to Group -> NOT conditional
    2) Remove OIM Group From User -> conditional
    So, from the 1) task, I will assign this approval to a OIM Group.
    If the user click "Approva", a provisioning process will be fired.
    If the user click "Deny" (Reject), 2) task will be run.
    What I want is this.
    From this 2) task, I need to get the "OIM Approval group" key or name (which this approval is assigned to)......
    Note: I need to get this group info in the "Approval Process Task" -> "Integration" -> "Map"
    Regards,
    Chaturanga

    Hi,
    Yes. I have done that.
    Now what I want is this. If the approver "Deny" (Reject) the approval task, I will call another task in the approval process. From that task, I need to run a code, which remove the user from OIM Group.
    So, to do it, I have written a java code and created a adapter. So, as a input parameter for that code, I need to give the approval group name(i.e. the OIM group, above approval task is assign to).
    How can I get the OIM approval group, which the person who Deny the approval belongs to, from this new approval process task???
    Regards,
    Chaturanga

  • 'No Details' error when tying to appen approval task from oim page -11GR2

    Hi all,
    I am using RequestService service of oim API for triggering Remove Role request. Request is being triggered succesfuly, and approval task is being assigned to the right person. But when I try to open the task I get 'No Details Available For the Task' message in apopup. I tried to open it from the worklist application but there is the same error. What may be wrong? Any Help is strongly appreciated...
    Code snipped I use is below:
    OIMApiHelper helper = new OIMApiHelper();
    User user = helper.findUserByReconKey(userReconKey);
    String userKey =user.getEntityId();
    RoleManager roleManager = Platform.getService(RoleManager.class);
    RequestData requestData = new RequestData();
    RequestService reqsrvc = Platform.getService(RequestService.class);
    requestData.setJustification(" Remove Roles");
    ArrayList<RequestBeneficiaryEntity> entities = new ArrayList<RequestBeneficiaryEntity>();
    List<Role> userRoles = roleManager.getUserMemberships(userKey,true);
    for(int i=0; userRoles!=null && i<userRoles.size();i++){
    Role role = userRoles.get(i);
    String roleKey = role.getEntityId();
    String roleName = role.getName();
    if(roleName.endsWith("ALL USERS")){
    continue;
    log.info("Benificiary Key (Role ID) ->"+roleKey);
    log.info("Benificiary Name (Role Name) ->"+roleName);
    RequestBeneficiaryEntity ent1 = new RequestBeneficiaryEntity();
    ent1.setRequestEntityType(oracle.iam.platform.utils.vo.OIMType.Role);
    ent1.setOperation(RequestConstants.MODEL_REMOVE_ROLES_OPERATION);
    ent1.setEntitySubType(roleName);
    ent1.setEntityKey(roleKey);
    entities.add(ent1);
    if(entities.size()==0){
    return;
    Beneficiary beneficiary = new Beneficiary();
    beneficiary.setBeneficiaryKey(userKey);
    beneficiary.setBeneficiaryType(Beneficiary.USER_BENEFICIARY);
    beneficiary.setTargetEntities(entities);
    List<Beneficiary> beneficiaries = new ArrayList<Beneficiary>();
    beneficiaries.add(beneficiary);
    requestData.setBeneficiaries(beneficiaries);
    //submit request
    String reqId = reqsrvc.submitRequest(requestData);
    BR,
    Aliye

    He is talking about the configuration which you did at the time of OIM Installation.
    Verify:
    Login into EM > System Mbean Browser > Application Defined Mbean > oracle.iam > oim_server1 > oim >Config > XML Config.Discovery > Discovery

  • How to read approval tasks of a request in OIM using API ?

    Hi,
    Is there a way to read the approval tasks and the corresponding status using OIM API i.e., if workflow has two level of approvals, the approval tasks would be: 1. Manager Approval and 2. Role Owner approval ?
    I have been looking at the API docs. but it didnt help, all I could find is to read the stages and the status of each stage i.e., Request Level, Template Level and Operation Level?
    Thanks,
    Hrushikesh

    below link will help you to locate BPEL worklist API
    http://technology.amis.nl/blog/1496/invoking-bpel-worklist-api-from-remote-server-with-java
    http://docs.oracle.com/cd/E12839_01/integration.1111/e10224/bp_worklistcust.htm

  • 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

  • Custom SOA Approval Task Flow

    Hi,
    I am trying to do some customization to a SOA Approval task flow.
    My requirement is, I have to present a checkbox with a message.
    The user has to click the box, only then should be able to approve.
    I have tried this whole tutorial with no luck
    http://docs.oracle.com/cd/E27559_01/dev.1112/e27150/request.htm#BABIDHGH
    The page pops with no page found. No errors in the log.
    Can you please advise,
    Thanks

    In 11GR2 we cannot customize the Approve/Reject buttons.
    There is an enhancement request logged for customizing the email body, Bug 12829287 [https://bug.oraclecorp.com/pls/bug/webbug_edit.edit_info_top?rptno=12829287] - HUMAN TASK EMAIL NOTIFICATION BODY TO BE CUSTOMIZED AS THE SUBJECT IS.
    It is still under review.
    Workaround for customizing the body is given in this tutorial: http://docs.oracle.com/cd/E23943_01/dev.1111/e10224/bp_designtf.htm#SOASE743
    [Section 30.7 Creating an Email Notification]
    Thanks,
    TS

  • OIM 11g - Email Notification with direct link to Approval Task Details

    Hi,
    We wanted to send email notifications to approver with direct link to the approval task details screen from which the user can either approve or reject the request. In OIM 11g OOTB Notification templates such as Request Creation contains the direct link to Request Detail screen which is something like
    http://localhost:14000/oim/faces/pages/Self.jspx?OP_TYPE=LOOKUP;E_TYPE=MY_REQUEST&T_ID=65
    Wondering if there is something similar for Approval Task Details screen as well.
    Any kind of help or suggestion is greatly appreciated.
    Thanks,
    Deepa

    If at all you cannot get the direct link for approve/reject then try the actionable email from SOA. Once you have that configured the emails gets approver/reject links so that approvers can directly approve/reject the task from email. If that works for you then you can look at the format of those links in the email and deduce what you need the url as.
    HTH,
    BB

  • OIM 11g: send direct link to approval tasks in email notification

    Hi all!
    What do I want to achieve: I want to send email notification to assignee in case if some approval task in OIM has assigned to them and this notification must have a direct link to the page of approval task details from which assignee can approve or reject an approval task.
    The default email notification that exists in approval task “DefaultRoleApproval” has a direct link to a request details page:
    <a href="<%substring-before(/task:task/task:payload/task:url , "/workflowservice/CallbackService")%">/oim/faces/pages/Self.jspx?OP_TYPE=LOOKUP&E_TYPE=MY_REQUEST&T_ID=<%/task:task/task:payload/task:RequestID%>>
    But unfortunately from this page we can’t do any action such as reject or approve.
    To find a direct link to an approval task details page (Self Service -> Tasks -> Task Details: Approval) from which I can perform needed operation I used document ID 748447.1. But I haven’t found a direct link.
    What is the direct link to task details page for approval with exact ID which I can include in an email to satisfy my requirement?
    Thanks in advance!</a>

    If at all you cannot get the direct link for approve/reject then try the actionable email from SOA. Once you have that configured the emails gets approver/reject links so that approvers can directly approve/reject the task from email. If that works for you then you can look at the format of those links in the email and deduce what you need the url as.
    HTH,
    BB

  • OIM 11g: Add process tasks as a result of a Request?

    Is it possible in OIM 11g to have the result of a Request be that 1 or more process tasks are added to an an account's process?
    The out-of-the-box Request framework seems to be very attribute driven (Modify Provisioned Resource, Self Modify Provisioned Resource), and I suppose we could add an attribute to trigger process tasks to be added, however, without going into detail, we'd really just like to be able to add the process task with no process form updates.
    Has anyone attempted anything like this?

    Sure you can.  Create a plugin on the request status:
    <plugin pluginclass="com.custom.eventhandlers.request.RequestCompleted" version="1.0" name="RequestCompleted">
    <metadata name="status">
    <value>Request Completed</value>
    </metadata>
    </plugin>
    In your code, using benEntity.getEntityKey() you can get the "Users-Object Instance For User.Key" value for the instance the request is for.  Then search the user's existing instances of that resource object type (findObjects) and match it to the "Users-Object Instance For User.Key" value from the result set.  Then get the process instance key.  From there you can use this code to get the task details:
    Map taskMap = new HashMap();
    String taskName = map.get(resourceName);
    taskMap.put("Process Definition.Tasks.Task Name",taskName);
    tcResultSet rs =  taskOper.getTaskDetail(processInstanceKey,taskMap);
    long taskKey = rs.getLongValue("Process Definition.Tasks.Key");
    And finally this code to insert the task:
    provIntf.addProcessTaskInstance(taskKey, processInstanceKey);
    And done!
    -Kevin

  • OIM 11g, Get users from table and insert them into Approval Task

    Hi All,
    I have OIM 11.1.1.5.4 in Solaris 10 and I have an Oracle Table configured as Trusted Source.
    I am using Database_App_Tables_9.1.0.5.0 connector.
    I want Reconciliate new users from a Oracle Table as follow:
    1. I ran the scheduled job
    2. The new users reconciled Must get into an Approval Task before of insert them into USR Table.
    3. The Administrator User Approved o Rejected the new users.
    4. The new users that were approval Must insert them into USR Table.
    Is there any form of implement this?, Can you guide me please?.
    Thanks for your Help.

    Through your Schedule Task, generate "*Create User*" (Request Type) request and assign approval workflow for such requests.
    After completion of approval ONLY, users will get created into OIM 11g.

  • Custom Leave approval task problem

    Dear All,
       I have a problem with my custom leave approval webdynpro task.
      Actually I was using standard task , TS12300097 for leave approval. It was working fine from SAP worklist from portal. If someone tries to approve from SAP R/3 it was providing an information like, this cannot be executed from SAP R/3.
      I had a requirement to add certain custom fields information to the task description, so I copied and created a new task similar to that and added the containers and filled the description to that. Then i cofigured the new task in SWFVISU also. It working fine from enterprise portal sap worklist.
      But some tries to approve from SAP Inbox in R/3 the workflow results in error. Its not providing the same information which was coming earlier with standard task.
    The error is as follow :
    Work item 000000885207: Object CL_PT_REQ_WF_ATTRIBS method DUMMY cannot be executed
    Dereferencing of the NULL reference
    Dereferencing of the NULL reference
    Error handling for work item 000000885207
    Let me how we can solve this issue.
    regards,
    Sabari Prabhu.

    We are changing our Leave Request workflow, and I also came across this problem while testing.
    In our situation, the problem is that we changed the approval task.  We used to have it as a call to report RPTARQAPP, but then changed back to the standard method of calling CL_PT_REQ_WF_ATTRIBS DUMMY.
    For us, it is only the old work items that go into error if the user tries to execute them in R/3.  If the workflow is then re-started, the item is once again available and can be processed in the UWL.  New work items come back with the pop-up message "The request cannot be started from the Business Workplace", like in the standard workflow.
    I think we will just add some encouraging wording to the task so that people will (hopefully) not attempt to execute the work items in R/3, like this:
    Please log on to ESS to approve this Leave Request through the Universal Worklist (UWL).
    It is not possible to complete this work item from within R/3, DO NOT execute this work item here.
    Once you have processed the request in ESS, this work item will automatically be completed.
    Good luck

  • 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

Maybe you are looking for

  • Is there a way to connect my ipad 2 directly to the apple TV?

    Is there any kind of cable that will connect my iPad2 directly to the apple TV and stream what is going on on my ipad onto the TV screen? Or its done wirelessly only?  Thank you in advance!

  • Loading Package - j2sdk 1.4.0

    Hi, If import java.util.*; is mentioned, at run time does JVM (j2sdk 1.4.0) loads entire util package or only requried classes? Thanks, Clark

  • Z2 Tablet release?

    I would like to know why the Z2 Tablet is on the shelf at many stores in the US but I can't get it directly from Sony.  The people at the Sony store tell me it is not released yet in the US.  I would prefer to buy the unit directly from sony for wara

  • Downloaded blackberry desktop manager and won't run --er...

    downloaded blackberry desktop manager and won't run --error says this program can't run in dos mode

  • Safari crash in agcore plugin while streaming Netflix

    While streaming Netflix on my iMac, Safari crashes with great regularity with a message talking about the agcore plugin. Is there an upgrade for it or something? Only in the case, never had a crash otherwise.