Additional attribute to Approval task

Hi All,
Can we add additonal attributes to Approval task. My scenario is as below.
Requester raise the request using self service to assign the role to beneficiary and the request goes to approver.
Approver login and go Approvals then click on requestId, the task opens he can see and approver/reject.
My requirement is: The approver before approving the task, he should give permission for the role only particular time, so I need to have additional attribute to accept the 'Valid till date'
Please reply to me if you know the solution.
Thanks
Rk

Customize your request dataset, to add field for date. Mark this field as approver-only
approver-only: This is a flag property used to specify that data value has to be supplied, edited by approver .By setting this flag, requester is never allowed to supply the corresponding data value. Value is of type Boolean.
Search for approver-only entries on this page.: http://docs.oracle.com/cd/E23549_01/doc.1111/e14309/request.htm#CIHGBGBC

Similar Messages

  • Additional attributes for requester and approver

    Hi,
    I have a scenario:
    1.Requester should raise the request to assign the role for beneficiary and requester should select 'Valid from' and 'valid till' (valid from and valid till are additonal attributes)
    2. Approver will reivew the request and should be able to change the 'valid from' and 'valid till' dates ( role active dates )
    I have changed the 'AssignRolesDataset.xml' to display the additionals attributes for approver task by making 'approver-only'.
    Can I add addtionals attributes for requester ? Can the requester additional attributes values will visible to approver to review and change?
    These Additional attributes stores in which table?
    Can any one Please guide me here.
    Thanks
    gr

    Hi,
    I have created the 'AssignRolesDataset.xml' as below and imported successfully in oim (purged also), but not able to see the additonal attributes when I raise the request from self service and select the 'Assign Roles' , also not able to see the attributes with approver.
    AssignRolesDataset.xml
    <request-data-set xmlns="http://www.oracle.com/schema/oim/request" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.oracle.com/schema/oim/request" name="AssignRolesDataset" entity="Role" operation="ASSIGN">
    <DataSetValidator name="CreateUserDataValidator" classname="oracle.iam.requestactions.plugins.datavalidator.CreateUserDataValidator"/>
    <AttributeReference name="RoleActiveFrom" attr-ref="RoleActiveFrom" type="Date" length="30" widget="date" read-only="true"/>
    <AttributeReference name="RoleActiveTo" attr-ref="RoleActiveTo" type="Date" length="30" widget="date" required="true"/>
    </request-data-set>
    Please correct me here.
    Thanks
    Gr

  • Issues with Approval Task IN IDM 7.1

    Hi,
    I have been facing issues with Approval task.
    Firstly,
    I have created an Approval task with 'Mskeyvalue' and 'Mxref_mx_privilege' as attributes.
    I am having a problem in the Approvers workflow UI where, we see these approvals.
    It not only displays the requested privilege,but also the already provisioned privileges of the enduser to the approver.
    He will not be able to recognize which privilege has been requested.
    Is this an already known issue which has been sorted out in recently updated patches?
    If not can you suggest me a solution for this.
    Secondly,
    The privilege requested by the end-user is getting provisioned to the backend,even before it is Approved.
    Since Provisioning tasks are mapped through repository,privileges are getting provisioned as soon as
    an entry is made into the Identity Stores.
    But,Ideally the requested privilege should not be proviosioned to the backend until it is approved by the Approver.
    Is this an already known isuue which has been sorted out in recently updated patches?
    If not can you suggest me a solution for this.
    Thanks and Regards,
    Joel
    Edited by: Joel Sundararajan Davis on Jul 16, 2009 11:04 AM

    Joel,
    I'm afraid the approval process is not quite this simple.  You are correct, if you have provisioning setup on the repository for a privilege it will be assigned immediately.  The approval task as you are using it works as an 'interrupt' to a process - nothing more.
    There is an entry type called pending value that you would need to leverage in order to have privileges requested route for approval.  This pending value object is created by default for role requests in 7.1, but I'm not sure how to create a pending value for a privilege.
    Which brings to mind a question - is there a reason you want users to request privileges instead of roles? In general I think the security model is setup so that users are assigned roles which contain one or more privileges.
    If you do choose to use a role instead of privilege, simply set the attribute MX_APPROVAL_TASK to the id of the approval task you want to use and the system will do the rest.  The display you referenced in the first part of your question will always display the current values of the attributes you select for the user, so don't try to display the roles there - just display the user id, name, whatever else is helpful and when the approver clicks on the user id they will get the approval details which will include the requested role.
    Also, please note that if you would like to assign a role directly anywhere (bypass approvals) you can use the switch: {direct_reference=1}
    -Geoff

  • Need to Hide Objects Default method in Approval Task

    Dear All,
      I have a requirement, where I need to hide the default method that is getting displayed in the approval task of the workflow.
    The employee object and Trip objects default method are getting displayed in the preview of approval task. And same is getting displayed in the universal worklist in the columns of attachments.
      There is an option in univesal worklist configuration where we can remove the attachments for display.
      But to our requirement , only certain objects and attachments should be shown in portal and R/3 of the approval task.We need to restrict the employee object and trip object which is shown in objects and attachments column of the standard descision task.
    Let me have any suggestion on this.
    Thanks in advance.
    regards,
    Sabari Prabhu.

    Hi,
    I took a look into this same issue some time ago, and at least I didn't find a way to restrict only certain attachments for displaying in UWL. If the attachments cannot be hidden, I have tried to avoid using the business objects as much as possible. For example the employee object is many times binded to the task only because you want to display certain attributes in the task description. Then I have just binded the needed attributes into separate container elements. Of course this will not solve all the cases.
    Then other useful options are that you change the default method, and this method is implemented in a way that it either does not display anything, or displays something (maybe just an error message etc.) that makes more sense than the default method that SAP delivers. Or then you can implement for example your own web dynpro application that will be launched when you click the attachment.
    Regards,
    Karri

  • Specify duration for each assignment stage in an approval task - sharepoint designer workflow

    HI
    I am trying to create an approval workflow in sharepoint designer. How do I configure different duration for each participant in a approval task .?

    I had a similar issue. Best way I found was to go into the 'Before a Task is Assigned' of the task and then Set Task Field Due Date - to the date needed.  If you need to get into specific time of the day, it presents additional issues.  First the
    workflow doesn't have a 'current time' function.  If the task is being created at the start of the workflow, you can use Workflow Context Date/Time started and calculate from there.  If you are adding a task, or the
    task is occurring after a previous task, you can make a workflow field and on the 'When a Task Completes - assign it the value of Current Task Last Modified.  Also, it seems their is bug where it doesn't recognize the
    time-zone correctly when you update the Due Date in the workflow process.  So if you see unexpected results for the time in the duedate value, may have to adjust for however many number of hours your timezone is from GMT.

  • SIT - Workflow -- Additional Attributes in SIT MSG

    Hi,
    In the SIT Process (Change Special Information) there is a sub process
    (Approvers Notification Process) inside this, there is one notification *"Notify Approver"*.
    This notification is having an HTML attribute in the body
    *"&HR_NTF_EMBEDDED_REGION"* which is calling an OAF-Region
    *"JSP:/OA_HTML/OA.jsp?OAFunc=-&HR_EMBEDDED_REGION-&NtfId=-&#NID-"*
    Problem is, We have add additional attribute which will pick some values
    randomely like &x &y &z
    If we will add our custom attribute along with the existing attribute
    "&HR_NTF_EMBEDDED_REGION" application is throwing error stating custom
    attributes (&X, &Y, &Z) is not recoginized by Region
    1. Attribute &X does not refer to a framework region
    2. Attribute &Y does not refer to a framework region
    3. Attribute &Z does not refer to a framework region
    In this case i dont want to customize framework region, to call my values of attribute X,Y and Z.
    How can i invoke values from Workflow Notification for the Custom Attribute with in the same notification
    Please help it's bit urgent.
    Thanks.
    Bachan

    Hi,
    We worked around for the issue. in a straight way it's not possible. Oracle has mentioned that you cant use Tokens with Attributes which is calling an JSP - Region.
    We removed the attribute which is calling JSP-Region (&HR_EMBEDDED_REGION) from the notification and added our custom Attributes which will call the segments of the SIT along with our required attributes.
    It's working fine.
    Thanks.
    Bachan.

  • 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

  • Add approval task through API call

    Hello, I am attempting to solve the following problem.
    I have a UDF defined on the Resource Objects form (OBJ table), this filed contains a comma delimited list of OIM groups which is of size n (based on the resource object).
    I would like to create an approval task for each group in this list. In addition i would like the name of each task to show up as the group name. so when a user logs into the UI and looks at the approval details the see the approval task as the group name.
    I have been able to add a task using tcProvisioningOperationsIntf.addProcessTaskInstance API however this API does not allow me to modify 1) the group to assign the request to and 2) the name of the task.
    thanks

    Hey Kevin, thanks for responding.
    This query will allow me to get the process task key, so i can be added to the approval task via. tcProvisioningOperationsIntf.addProcessTaskInstance. However the issue is, no task currently exists. So before i can add an instance of the task i have to actually create a new task. but i was un-sure how to accomplish this through api calls.
    The goal here is to allow a list of groups to be configurable at the resource level without having to modify the approval process.
    thanks

  • Send Email from approval task form

    In my reusable workflow, I have added an approval action. Everything works perfectly. What I want is - When approver comes to approval form, he should be able to send notification email to the initiator (From that form) that he has started working on that document.
    What I have tried - I have added a button clicking on which will submit the form to initiator. 
    But it fails. possible reason - when I create a data connection in workflow's infopath form to submit form as email, I am getting following warning
    "Domain trust form templates cannot be sent as email attachments. to fix this problem, modify the form option to change the security level of form template to restricted".
    I also tried to update status field and wait for it to changes in workflow and send an email from sp designer workflow. it didn't work.
    Please help or suggest any other possible way to achieve this functionality (Send Email from approval task form to initiator).

    Hi mry,
    I could reproduce on my SharePoint 2013 on-premise based on your another
    post.
    Based on the the following article, SharePoint workflow cannot use the InfoPath form in restricted mode which doesn't allow the data connection, but as your image warning message shows sending InfoPath form as mail attachments will need restricted level.
    http://msdn.microsoft.com/en-us/library/office/ee526352.aspx
    You can consider to send a mail to initiator in "Whe a Task Completes" step when you click button approved/rejected, and construct the current task form link format as follow,
    http://sp/_layouts/15/WrkTaskIP.aspx?List=WorkflowTasksListGUID&ID=[%Current Task:ID%]
    Thanks
    Daniel Yang
    TechNet Community Support

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

  • What are the attributes available on Task Status Notification?

    Hi,
    I need to send the information below when a task is completed or rejected. So I would like to know if they are available. I think so because I've got them from Task Status Notification (OIM standard email definition). If not, what are the attributes available on Task Notification?
    <Tasks.Task Name> is <Task Details.Status>.
    <Task Details.Status>
    <Resource.Resource Name>
    Target User: <Users.First Name> <Users.Last Name> [<Users.User ID>]
    Assigned to: <Task Information.Assignee First Name> <Task Information.Assignee Last Name> [<Task Information.Assignee User ID>]
    Response Code : <Responses.Response>
    Response Description : <Responses.Description>
    Error Details : <Task Details.Reason>
    Thanks,
    Renato.
    Hi,
    I have implemented some java code to workaround the problem below... But I don't believe this does'n work in OIM :-):-):-):-) Please, tell me if you are using task status notification in OIM and if your email defintion has the variables below.
    Thanks,
    Hi,
    One of OIM email templates is Task Status Email Notification. I am trying to notify the user (Notification tab) using this template but it didn't work. Even when I set the Object Name and Process Name values for an email definition, it does not work.
    How have you implemented task status notification in your workflows? I think if this template exists in OIM, by default, so it is posible to have the information below during notifications.
    I think I'll have to call Oracle's Support.
    =======================================================
    Subject: Process task <Tasks.Task Name> is <Task Details.Status>.
    Body:
    The Process task <Tasks.Task Name> is <Task Details.Status>.
    The details of this process task are as follows:
    Process Task Name: <Tasks.Task 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: <Task Information.Assignee First Name> <Task Information.Assignee Last Name> [<Task Information.Assignee User ID>]
    Response Code : <Responses.Response>
    Response Description : <Responses.Description>
    Error Details : <Task Details.Reason>
    =======================================================
    As I've said, the e-mail was sent but in blank:
    The Process task is .
    The details of this process task are as follows:
    Process Task Name:
    Process Task Status:
    Resource Name:
    Target User: []
    Assigned to: []
    Response Code :
    Response Description :
    Error Details :
    Is it possible to have those fields available on notifications?
    Thanks,
    Edited by: Renato.Guimaraes on 23/10/2009 08:05
    Edited by: Renato.Guimaraes on 24/10/2009 15:57
    Edited by: Renato.Guimaraes on 26/10/2009 13:31
    I didn't get any answer until now.. Below it is what I've done.
    a) Create an entity adapter that is assigned to the post-update of the Specific Task Info data object.
    b) Select the task information searching by SCH_KEY, for example (I have to do more tests)
    SELECT
    sch.sch_key, sch.sch_status, sch.sch_note, mil.mil_key, rsc.rsc_data, rsc.rsc_desc
    FROM
    osi, sch, mil, rsc
    WHERE
    mil.mil_key = osi.mil_key and
    osi.sch_key = sch.sch_key and
    sch.sch_key = ? and
    rsc.rsc_key = osi.rsc_key
    c) Load the e-mail definition template and replaces the fields
    d) Sends the e-mail
    With that I solved another problem: I have to send an e-mail always the assignee adds a note to the task.
    Edited by: Renato.Guimaraes on 28/10/2009 08:51. How I did that
    Edited by: Renato.Guimaraes on 12/11/2009 12:19
    Edited by: Renato.Guimaraes on 13/11/2009 07:22 Changed the Thread Subject

    Hi Experts,
    I want to extend my doubt a little more.
    I have a requirment  as below.
    User will enter a range of Date say 01.06.2011 to 25.06.2011.
    I need to show him data in two columns one cloumn for the entered day range and second column for prevoius month date rangei.e(01.05.2011 to 25.05.2011)
    can i achive this without  using Customer Exit.
    Regards
    Laxman

  • 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

  • Some fields are missing in Current Task - Designer Workflow Approval Task Process

    Hi All,
           I am using approval task process activity in designer workflow. When i go to the single task behaviour page, some fields are missing under Current Task Source.
    Some missing fields are :
    1. Assigned To
    2.External participants
    3. Form Urn
    I am trying to get the above fields but not available. What could be the issue?
    Puli Bala

    Hi Puli,
    I think your task list is corrupted, could you please try to associate your workflow to another task list in SharePoint Designer > Click Workflows on left navigation > Click to open your workflow > Under Settings section, select another task
    list and test.
    Thanks & Regards,
    Emir
    Emir Liu
    TechNet Community Support

  • Approval task SP09: Evaluation of approvalid failed with Exception: while trying to invoke the method java.lang.String.length() of an object loaded from local variable 'aValue'

    Hi everyone,
    I just installed SP09 and i was testing the solution. And I found a problem with the approvals tasks.
    I configured a simple ROLE approval task for validate add event. And when the runtime executes the task, the dispatcher log shows a error:
    ERROR: Evaluation of approvalid failed with Exception: while trying to invoke the method java.lang.String.length() of an object loaded from local variable 'aValue'
    And the notifications configured on approval task does not start either.
    The approval goes to the ToDO tab of the approver, but when approved, also the ROLE stays in "Pending" State.
    I downgraded the Runtime components to SP08 to test, and the approvals tasks works correctly.
    Has anyone passed trough this situation in SP09?
    I think there is an issue with the runtime components delivered with this initial package of SP09.
    Suggestions?

    Hi Kelvin,2016081
    The issue is caused by a program error in the Dispatcher component. A fix will be provided in Identity Management SP9 Patch 2 for the Runtime component. I expect the patch will be delivered within a week or two.
    For more info about the issue and the patch please refer to SAPNote 2016081.
    @Michael Penn - I might be able to assist if you provide the ticket number
    Cheers,
    Kristiyan
    IdM Development

  • Additional attributes (such as "xmlns:xsi") in document

    How can I add some additional attributes in in my toplevel element when creating
    a new XML document from scratch using XMLBeans. For example the attributes "xmlns:xsi"
    and "xsi:schemaLocation" in the sample below:
    <?xml version="1.0" encoding="UTF-8"?>
    <MyDoc xmlns="http://www.xxx.nl/yyy" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.xxx.nl/yyy myXsd.xsd">
    <..../>
    <..../>
    </MyDoc>
    XML does add the "xmlns" attribute itself. How can I add the two other attributes?
    Currently I have a workaround. I read an "empty" XML-file containing these attributes
    using XMLBeans (parse) and then I fill the empty structure. But I feel that there
    has to be a better solution. Unfortunately I cannot find it.
    Any help is appreciated. Thank you in advance.

    Hello Olaf -- You might trying using an XML cursor. So assuming you've
    compiled a schema to generate XMLBeans types, you might do something like
    the following.
    MyDocDocument myDocDoc = MyDocDocument.Factory.newInstance();
    MyDoc myDoc = MyDocDocument.getMyDoc();
    // Create a cursor and move it to where you want to start inserting
    attributes.
    XmlCursor cursor = myDoc.newCursor();
    cursor.toFirstContentToken();
    cursor.toLastAttribute();
    // Insert your attributes.
    cursor.insertAttributeWithValue("schemaLocation","http://www.w3.com/2001/XML
    Schema-instance", "http://www.xxx.nl/yyy myXsd.xsd");
    // ...add other attributes in a similar way...
    // Dispose of the cursor.
    cursor.dispose();
    Without a schema, you'd be working with the XmlObject returned from your
    newInstance or parse method.
    Steve
    "Olaf Wienk" <[email protected]> wrote in message
    news:4029ee05$[email protected]..
    >
    How can I add some additional attributes in in my toplevel element whencreating
    a new XML document from scratch using XMLBeans. For example the attributes"xmlns:xsi"
    and "xsi:schemaLocation" in the sample below:
    <?xml version="1.0" encoding="UTF-8"?>
    <MyDoc xmlns="http://www.xxx.nl/yyy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.xxx.nl/yyy myXsd.xsd">
    <..../>
    <..../>
    </MyDoc>
    XML does add the "xmlns" attribute itself. How can I add the two otherattributes?
    >
    Currently I have a workaround. I read an "empty" XML-file containing theseattributes
    using XMLBeans (parse) and then I fill the empty structure. But I feelthat there
    has to be a better solution. Unfortunately I cannot find it.
    Any help is appreciated. Thank you in advance.

Maybe you are looking for

  • IPCC Express script is not working

    Hello, i am ahving one script that is configured with script editor fine but when i play with cucm then call for on duty time going to off duty time extneison number. why is it happening. it is not shwoing any error in the debugg also.

  • Foreign language (Polish) display

    Hi, When displaying a Polish document through KPRO, some users are able to see Polish-specific characaters, whereas others get scrambled nonsense like Åu0161WIEÅ»OÅu0161Äu2020 Any idea why one user can see this information and others cannot? The PCs

  • Distribution files for VS2010

    I just loaded Crystal Reports for VS2010. I would like to know how to distribute the new modules with the application. Can anyone help me out? Thanks in advance,

  • HT1657 Error when playing rented movie. Now expired.

    After renting and playing a movie for only seconds, I get the following mesage "An unknown error occurred.  please try again later".  Now my rental has expired.  Can I get credit for it?

  • WD My Book Essential Edition 1TB

    I have been transferring home DV tapes to DVD and putting everything on my 320gb external drive which is quickly running out of space. I purchased a WD My Book Essential Edition 1TB USB 2.0 but I'm hesitating opening it - as I didn't really research