SOA Approval Workflow - Questions

Hello,
i created a simple approval workflow, which assigns a request to the creator.
I use the following expression:
Identification Type: User
Data Type: By Expression
Value: /task:task/task:payload/task:
Now, i want to assign the request to a group/role of the request. All members of this group could accept/reject the request.
How to set this expression?

This works, but i need a dynamically solution.
If a user of group A do a request, this should be assigned to group A
If a iuser of gorup b do a request, this should be assigned to group B
My solution is at the momente "hard coded". I need for each group another workflow
Is it possible create one dynamic workflow for all groups?

Similar Messages

  • Approval Workflow Question

    I need help setting up an approval workflow. The workflow should run as below.
    User submits InfoPath Form.
    Form is sent to Approver 1
    Approver 1 receives a reminder 1 day before due date.
    If Approver 1 does not meet the due date then the form is sent to Approver 2
    Approver 2 is sent a reminder 1 day after they receive the form.
    As per default Approval Process, If at any stage the form is rejected, it is sent back to the Originator.
    What I would like to add is when Approver 1 receives the task, they can change the Approval Process to "In Progress" so to stop the workflow sending to Approver 2.
    Any help on this would be really appreciated.
    dfrancis

    Yes developing a workflow with above conditions is possible in both SharePoint Designer Workflow and off-course in Visual Studio Workflow (A Sequential Workflow would be enough).
    As for the SPD Workflow, you would end up developing a little complex workflow with conditions tracking the approval status. You can set a condition to check your due date field with current date and then send an email via Send email action.
    You may create custom Approval Status drop-down column with two values "Approved" and "Rejected".
    If any Approver selects "Rejected" value in drop-down in EditForm.aspx then create action
    "Send email to CreatedBy"
    You can create task for Approver 2 when Approver 1 sets the status to "Approved". Therefore until the Approver 1 selects "Approved" the task would not be created for Approver 2.
    On the other if you are not comfortable creating SPD workflow then go for Sequential Workflow in Visual Studio and you would have more control over the conditions.

  • Document Approval Workflow Question

    I have a document approval workflow set on a document library, because I want the documents to require approval by the approver before they can be seen. I also have versioning set on the library. However, once the documents are approved and then later
    changed, the Document Status is reset to Draft and requires approval again. Is there a way to use either Document Approval or Versioning or a combination of both to keep the document in a draft state and not viewable until approved, and then not change states
    again if changed? Thank you!

    Hi,
    The screenshot is Content Approval option in Document library settings. As we can tell from the explanation in the left part, content approval is designed to specify whether new items or changes to existing items should remain in a draft state until they
    have been approved. It will work both when a document is uploaded to library and when a document is edited.
    If you would like approval only happen on first uploading but not on lated editing, then you might use other method for approval progress.
    As workaround, you could use OOB approval workflow and specify it to start only when an item is created, so that the approval progress will only happen on first uploading.
    https://support.office.com/en-nz/article/Understand-approval-workflows-in-SharePoint-2010-a24bcd14-0e3c-4449-b936-267d6c478579
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • SOA Approval workflow trigger error

    I have created an SOA workflow for approval and used at operational level.
    I am getting the error IAM-2050014 : An error occurred while initiating approvals for request 61. The corresponding error message is Unable to instantiate the workflow process due to: weblogic.rjvm.PeerGoneException: No message was received for: '240' seconds.
    Any inputs on how to resolve the issue?

    A quick google search of "weblogic.rjvm.PeerGoneException" will return lots of other users with the same issues and what they did to resolve.  You should check them out and let us know how it goes.
    -Kevin

  • Ootb 2010 approval workflow question

    I have been trying to resolve a custom ootb approval email issue (in another thread) and have not gotten a solution - but I have come across a general question that could be realated but I dont know the answer and have not been able to find this in the forum
    so far (I looked for about 1/2 hour).
    See the screenshot below - can someone help me with this question?
    so - I am not able to insert an image or include a link because I am new and it is a spam measure but I have posted the image on our edu site and the path is below - you will have to change the 'dot's
    www dot med dot unc dot edu/ahs/research/files/ootb_approval_2010_customized.gif

    thank you so much for checking back in - I removed the 'all approvers string' from that field - adding just my name, and the system assigned the tasks appropriately to each approver, but the email notification was only sent to me - ie it did not notify the
    other approvers - but sent their notification to only the name in the Email task notification to john
    Bulluck
    When I remove/delete that Email
    task notification to Variable: all approvers and re-run, there are no task notification emails - they all get a task assigned, but there are no emails delivered to notify of the task.

  • Collaborate / Approval workflow question

    I work in a corporate environment where each project I complete needs to be approved by 4 people before it goes out. Problem is they are rarely in the office, so it creates a pretty significant bottleneck.
    I'm envisioning some sort of process where I can upload a FLV of the project to a webserver and direct the approval commitee to a webpage that will let them view the video, comment (and see other's comments), and approve the project.
    Does anyone have a similar approval process or know of any software based or other solutions that might help me with this?
    Any suggestions would be appreciated.

    Committee's suck. My suggestion is to get just one guy who has final approval. Let
    him bring it to others if he wants, but just one guy needs to be in charge.

  • Approval Workflow deploy in Jdeveloper - SOA Server not showing up in list

    Trying to deploy an OIM approval workflow. Added my weblogic server, and tried to deploy. When it comes to selecting a SOA server, no soa servers show up in the list. Any ideas? Thanks.

    For sca deploy are you need to specify few other properties; are you putting those correctly?
    <ant antfile="${oracle.home}/bin/ant-sca-deploy.xml">
        <property name="serverURL" value="?" />
        <property name="sarLocation" value="?" />
        <property name="overwrite" value="?" />
        <property name="user" value="?" />
        <property name="password" value="?" />
        <property name="partition" value="?" />
    </ant>HTH,
    BB

  • Approach to create a generic Approval process using SOA human workflow ?

    Hello Experts,
    I'm looking to create a generic approval process using oracle soa human workflow component using JDev 11.1.1.5
    Have about 7-8 existing applications which do some kind of 'approval' . So need to create a generic solution for all 7-8 applications, instead of users logging into 7-8 different applications to approve by logging into different systems. Just want to have like a 'one stop shop' , where i can just go and approve for any application without having to log into separate applications.
    I'm looking to get some suggestions and ideas, on how I can achieve this functionality ... Any suggestions/ideas are appreciated .
    Thanks a lot.

    Hello,
    you can find multiple sample on the web like those
    http://www.splessons.com/2013/12/create-state-machine-workflow-in-sharepoint-2013-using-visual-studio-2012/
    http://msdn.microsoft.com/en-us/library/ee231606.aspx
    I don't think that's very different using VS2013 or VS2012
    Best regards, Christopher.
    Blog |
    Mail
    Please remember to click "Mark As Answer" if a post solves your problem or
    "Vote As Helpful" if it was useful.
    Why mark as answer?

  • OIM 11g Approval Workflow Notification questions

    Hello.
    I am working with an OIM 11g approval workflow. The workflow will flow from one group to another, and if one user in each group approves it, it is approved. Because I assigned it to groups, the notifications are going to every user in each group.
    Is it possible to send a notification to only a single user within a group, instead of everyone? Does auto claim do this?
    Is it possible to send a different notification if the ApprovalTask is rejected versus approved?
    Thanks.

    If I understand correctly, you want to send the notification only to the user who has approved the request and not to all in the group. You can do it by NOT using the notification tab in the .task but by using EmailNotificationService after the .task in BPEL. There you can read the data from payload on who approved the request and can send the notification only to that user. Same way for rejects. You can configure that.
    1. After your .task completion you can have a decision box which can check the value for 'outcome' and then direct it to appropriate path for appropriate notification.
    or
    2. Based on outcome you can set the template in a variable and then in the notificationservice use that variable.
    -Bikash

  • OIM Approval Workflow Scenario/Question

    Hello,
    Can anybody please explain how the approval workflow actually works in OIM?
    Scenario - After a user does self registration using the web console - how can we specify tasks in between that workflow - so that the user's manager should receive/approve the request first and then suppose then the request goes to some Department Head for his approval and then only the user will receive and confirmation email for logging into OIM.
    I understand the Provisioning workflow perfectly from OIM User Form to PRocess Form and from their to Target. But really want to understand this 'Approval/Self REgistration' workflow. Can anybody explain me with the steps that are needed to be configured in OIM Design Console for the 'scenario' explained above.
    Many Thanks!

    Hi,
    There is one possible solution for your requirement. I jsut the forget the name of the workflow which trigger while self registration.
    You can do one thing in that process add two task which assign task to manager and once he approved the request task will be assigned to deapartment head and once he approved the user will be created in OIM.
    Task will be assigned not as approval but as asisgned task, if its ok with you; just try this and let me know.
    Regards
    Alabhya Goel

  • AWE (Approval Workflow Engine) Question

    I'm trying to implement AWE (Approval Workflow Engine) and am having a bit of a problem.
    I've been following the instructions on the Red Paper document concerning implementing AWE. I have the following code. When this code fires the cross reference table is populated. However the PSWORKFLOW table does not get populated. The orinator does have a supervisor selected in the Workflow tab of his user profile. But nothing gets routed to the user for approval. Like I said the PSWORKLIST record does not get populated when this code fires. I'm trying to follow the code from EProcurment but am wondering if it's a coding or configuration issue. Any help is greatly appreciated. Thanks!!
    &reqRecord = CreateRecord(Record.CUS_VCHR_AW_VW);
    GetLevel0()(1).GetRecord(Record.VOUCHER).CopyFieldsTo(&reqRecord);
    &launchMgr = create PTAF_CORE:LaunchManager("VOUCHER", &reqRecord, "");
    &launchMgr.requester = "TEST";
    /* &launchMgr.appDef.trace_flag = True; */
    &launchMgr.SetHeader(&reqRecord);
    &launchMgr.DoSubmit();

    I am also trying to code for Voucher approval workflow. The worklist is not getting populated and I am getting an error on the following code:
    If &sac_aw_ref_launch_mgr.hasAppDef = True Then.
    I have the process definition setup.
    My code is as follows:
    SavePostChange (Component)
    Function KickoffAW()
    If &sac_aw_ref_launch_mgr.hasAppDef = True Then
    /* Update the requester, if necessary */
    If &sac_aw_ref_launch_mgr.requester <> VOUCHER.OPRID Then
    &sac_aw_ref_launch_mgr.requester = VOUCHER.OPRID
    End-If;
    &sac_aw_ref_launch_mgr.appInst.Save();
    &vchRecord = CreateRecord(Record.BC_VCHR_AW_VW);
    GetLevel0()(1).GetRecord(Record.VOUCHER).CopyFieldsTo(&vchRecord);
    &sac_aw_ref_launch_mgr.SetHeader(&vchRecord);
    If (&sac_aw_ref_launch_mgr.submitEnabled) Then
    &sac_aw_ref_launch_mgr.DoSubmit();
    End-If;
    End-If;
    End-Function;
    SavePostBuild (Component)
    /* Workflow Approval - Start */
    If %Mode = "A" Then
    &REC1 = CreateRecord(Record.BC_VCHR_AW_VW);
    GetLevel0()(1).GetRecord(Record.VOUCHER).CopyFieldsTo(&REC1);
    rem &REC1 = GetLevel0().GetRow(CurrentRowNumber()).GetRecord(Record.VOUCHER);
    &awprcs_id = "BC_VOUCHER"; /* The transcation definition setup */
    /* Initialize the approval manager */
    &sac_aw_ref_launch_mgr = create PTAF_CORE:LaunchManager(&awprcs_id, &REC1, VOUCHER.OPRID);
    &submitEnabled = &sac_aw_ref_launch_mgr.submitEnabled;
    &previewEnabled = &sac_aw_ref_launch_mgr.previewEnabled;
    &resubmitEnabled = &sac_aw_ref_launch_mgr.resubmitEnabled;
    End-If;
    /* Workflow Approval - End */
    Thanks,
    Edited by: user11900060 on Oct 5, 2009 1:25 PM

  • Attaching the notification template to a approval workflow or process OIM11

    Hi guys,
    we have customized our approval workflow at request level, and operational level approval making default approval based on approval policy. Now the question is we need to send a mail notification to manager to approve the request and then when whole request is completed then the mail has to be sen to the user that new account has been created for that resource.
    here the user is request a resource by using self-resource request template.
    i have seen the notifications but how would make these notification are triggered at above events
    appreciate ur responses

    Your first step is to clearly define when the notifications must go out.
    1. Email to Approver for task assigned - If you have built a SOA Composite and in your code, you have retrieved the user manager value and assigned to that user, then with this value, you can also code for a custom notification. From the request data, you can retrieve the beneficiary and the resource for which is requested. Using these, you can use a notification resolver class to pass those values in to your notification. See this link http://fusionsecurity.blogspot.com/2011/07/oim-11g-notifications.html for how to create a custom notification.
    2. Email to user when Resource has been provisioned - This will happen on the provisioning side, and you can attach to your Create User task and use the notification tab. I do not know if these still work, but create a new email definition from the design console. Open the create user task, go to the notification tab, select the User as your target, status is C, and then select your email definition. Another option would probably be an event handler that is triggered on the status of Provisioned for that resource, but someone else might be able to provide more insight on this as i have not configured one yet.
    -Kevin

  • OIM11g - Approval Workflow

    Hi All,
    I have developed a 3 level approval workflow using soa composites.
    After second level, the request status goes to "Alerted" and the assignee is "XELSYSADM".
    What is this status all about. I cannot search for this request id using xelsysadm account.
    Any help is appreciated.
    Regards
    Vicky

    J_IDM wrote:
    Hi bbagaria,
    I tried to implement two level resource request approval workflow..but everytime the request is getting assigned to XELSYSADM.
    The request is not getting assigned to Resource Admin Group.
    Which Link to follow for get it working?
    Do you have any detailed steps to execute this process?
    Regards,
    JJ,
    So you are trying resource administrator approval? What's the human task in BPEL? Check the BPEL instance in EM for your workflow and investigate the payload, flow and the variables you have used to debug this more. Hw you are doing the task assignment? I guess giving you a solution through forum would be a mammoth task and can guide you to debug only.
    In the human task are you using any variables or are you using static user ids as the assignee? Have you created multiple stages in the human task?
    There is no particular link which I follow but would suggest you to go through the SOA developers guide to understand the workflows in SOA.
    Check this tutorial for better understanding: http://st-curriculum.oracle.com/obe/fmw/oim/oim_11g/developing_oim_custom_approval_process_for_resource_provision/developing_oim_custom_approval_process_for_resource_provision.pdf
    P.S. if you have a question please open a new thread instead of hijacking some other.
    HTH

  • Trying to set up an out of the box SP 2010 approval workflow that doesn't generate warnings or errors

    I have a custom list for which I want an approval workflow.  There is only going to be one stop for the approval - creating an item is a request to a person for a new code to be created. 
    If I do not turn on content approval, then I get the message:
    The workflow could not set content approval status. Enable content moderation for this list and run the workflow again.
    When I turn on content approval, then when the users go to the custom list to create an item, they see this message:
    Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights.
    Surely I am missing something obvious. I just want a standard SP 2010 form without warnings to gather info from the user, then to create a workflow task that sends a person an email that they need to approve or reject the request.
    The second message is going to cause questions from the users. The person who has to approve the tasks wants to be able to see what requests are awaiting approval vs approved vs rejected.
    Is this something that is not doable in SP 2010?

    the "Approval Process" step is designed for manipulating the "Moderation Status" (Content Approval status) of a list item... What you are seeing is DESIGNED behavior.
    When Content Approval is enabled, content changes are not made public until they have been approved. The Approval workflow sends the email to a manager, who is supposed to approve or reject the change.
    If Content Approval is DISABLED, there is no point to the workflow.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Error while testing the self registration approval workflow

    Hi all,
    I am getting the following error while testing the self registration approval workflow.
    Here the request level approval is working fine.But the operation level is not working.
    <May 28, 2012 11:25:01 AM IST> <Error> <oracle.iam.request.impl> <IAM-2050126> <Invalid outcome com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}runtimeFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{
    summary=<summary>oracle/iam/platform/OIMClient</summary>
    ,detail=<detail>java.lang.NoClassDefFoundError: oracle/iam/platform/OIMClient
    at orabpel.approvalprocess.ExecLetBxExe0.execute(ExecLetBxExe0.java:182)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
    at java.lang.Thread.run(Thread.java:662)
    </detail>
    ,code=<code>java.lang.NoClassDefFoundError</code>}
    cause: {oracle/iam/platform/OIMClient}
    received from SOA for the request id 61.>
    <May 28, 2012 11:25:01 AM IST> <Warning> <oracle.iam.callbacks.common> <IAM-2030081> <[CALLBACKMSG] Inside Status Change plugin for request 61 and the status is : Request Failed.>
    er and operation is CREATE.>
    <May 28, 2012 11:25:01 AM IST> <Warning> <oracle.wsm.agent.handler.wls.WLSPropertyUtils> <BEA-000000> <WLSPropertyUtils:getOperationName(),operation name is null>
    How to resolve this issue?
    Please anyone suggest me.Thanks in advance.
    Regards,
    Deena.

    Deena,
    Please make sure the path is correct. also why .zip, why : at the end why blank space? These could be a problem.
    /home/oracle/Oracle/Middleware/Oracle_IDM1/server/client/*oimclient.zip*:/home/oracle/Oracle/*Middleware/ oracle_common*/modules/oracle.jps_11.1.1/jps-manifest.jar:
    Below is correct one.
    $MW_HOME/Oracle_IDM1/server/client/oimclient.jar:$MW_HOME/oracle_common/modules/oracle.jps_11.1.1/jps-manifest.jar
    If you have custom workflow, be sure in task assignment proper outcome approve or reject.
    Thanks,
    Kuldeep

Maybe you are looking for