Implement Parallel workflows in UCM

Hi,
Requirement : Whenever a content is checked in by the contributor, it needs be approved by members from two different teams parallely before proceeding to the next step.
Suppose lets say the content needs to be approved by 2 groups 1 and 2 and each grp has 2 members. For the content to go to the next step atleast 1 member from each group has to approve it. Can you please help me to achieve this functionality. I tried the one which was mentioned in oracle docs .. but cud not get it implemented.
My workflow details:
Two steps - Reviewer and Approver
Reviewer Step has 4 users.
MIN Approvers : 2
Code in Entry Step:
<$wfSet("set1", "0")$>
<$wfSet("set2", "0")$>
<$group1 = "user1, user2, user3,"$>
<$wfSet("group1", group1)$>
<$group2 = "user8, user9, user10,"$>
<$wfSet("group2", group2)$>
Code in Update Step:
<$if wfAction like "APPROVE"$>
<$if strIndexOf(wfGet("group1"), dUser) >=0$>
<$set1 = toInteger(wfGet("set1"))+1$>
<$wfSet("set1", set1)$>
<$endif$>
<$if strIndexOf(wfGet("group2"), dUser)>=0$>
<$set2 = toInteger(wfGet("set2"))+1$>
<$wfSet("set2", set2)$>
<$endif$>
<$endif$>
Code in Exra Exit Step:
toInteger(wfGet("set1")) >= 1 AND
toInteger(wfGet("set2")) >= 1
Regards,
Boopathy

First of all, parallel processing in workflows in UCM in general is impossible - an item can be in a single state only (you cannot 'fork' the workflow and synchronize it again to a single flow). You could do this in BPEL workflows, though.
Particularly, your use could be faked - a simple workflow step could serve as an approval step for both groups.
One implementation could look like:
Min. approvers - ALL
In Update, or Additional Exit Condition you will create an idocscript code, which will check whether necessary number of users from each group approved the document. You will most likely need the idocscript function wfComputeStepUserList, which "Computes the list of users from the current step in the workflow."

Similar Messages

  • Parallel workflow with final Reviewer in 10.1.3

    Hi,
    I am looking how to implement the equivalent of Parallel workflow with final Reviewer (used in 10.1.2) in our 10.1.3 BPEL version.
    when i used Group Vote + Sigle Approver, it does not give me what i want ............. and how to access the subtasks from a given parent task?
    How to create a parent task with subtasks ???
    thanks
    BG.

    Hi Karl!
    I've the same problem! Did you find any solution for that problem ???
    Thanks,
    Nuno Sénica.

  • Equivalent in 10.1.3 Parallel workflow with final Reviewer

    Hi,
    I am looking how to implement the equivalent of Parallel workflow with final Reviewer (used in 10.1.2) in our 10.1.3 BPEL version. it 's very urgent plz.
    when i user Group Vote, it does not give me what i want .............
    thanks
    BG.

    Hi Clemens,
    Thanks for your quick response. The Taskmanager and the Taskactionhandler are indeed not deployed so I will do that automatically.
    Still one question/remark left:
    You noticed that you still have to complete the tasks using the old worklist app. . So if i'm correct, you have to use the deprecated 10.1.2 worklist api or build-in worklist app. The 10.1.2 worklist app is not deployed in my 10.1.3 installation. However, 10.1.3 only contains the new worklist app. Is there also a way to deploy it manually?
    Writing this down it al looks a bit clumsy to me. Is it not a better option to invest some time in migrating all tasks scopes manually to 10.1.3, because as far as I can see the human tasks are causing the main issues concerning migration? After this you have a 10.1.3 compliant system. I wonder what your opinion is on this issue.
    Kind regards,
    Tom

  • AE 5.1 and 5.2 - Configuring parallel workflows for "Delete" Request type

    Has anyone configured parallel workflows for the "Delete" Request type?  I want to configure 1 for SAP and 1 for non-SAP applications, but have been unable to do it successfully. 
    The initiators I have created that do not work are:
    1 - SAP initiator:
    SAP application with "OR" condition
    Request Type = Delete with  "AND" condition
    2 - Non-SAP initiator:
    Non SAP application 1 with "OR" condition
    Non SAP application 2 with "OR" condition
    Non SAP application 3 with "OR" condition
    Request Type = Delete with  "AND" condition
    When I create a request to Delete a user with SAP app and Non SAP app I get the error:  "Error in creating request. Multiple Initiators, [NON SAP DELETE, SAP DELETE] Found."
    Based on what I am reading on p. 58 of the AE52ConfigGuide.pdf, this should be possible to do.  Does anyone have any suggestions?

    This is my understanding.,
    A request cannot have more than one initiator. You cannot trigger multiple initiators for one single request. In your case both attributes SAP & Non SAP application are given with OR condition which makes both the initiators alike. As mentioned in the documentation the request for deletion can be made to happen in both SAP & Non SAP application by having forked path (for this the initiator should be OR Application SAP OR Non SAP Application AND Request Type Delete). Given the other option then it should have different initiator for SAP and Non SAP applications by giving them with AND condition.

  • Implementing ESS Workflow

    Hi Friends,
        I am new to HR. I want to try implementing ESS. I am quite comfortable with all the activities it takes to implement ESS except for Workflows.Is there any documents available providing a sort of walkthrough of how to implement ESS workflow from Portal(UWL)?
    Thanks in advance.
    Regards,
    Nathan.

    Hi Nathan,
    Which Wofkflow you are looking for? There are some standard WF's (Leave) already in the system...From your Portal Content Directory you can find these Iviews under migrated content -> EP version -> Iviews -> ESS :working time -> Leave request...
    And from the iview properties, you can find the workitem 
    WS200000081 name..You execute this Woritem in SWDD trnx...
    Later you copy the workitem and the iview and do necessary modifications.
    Hope it helps .
    Rgds,
    Jothi.
    Do award pts for helpful answers.

  • How to send the notification email to users which are in workflow in ucm

    Hi All,
    Does anyone know how to configure ucm to send the actionable notification email to particular users in workflow?
    Please Help!!!!

    The send mail function will send mail to the users and or alias in the workflow step where you invoke it. The IDOC script guide will help you with implementing these kinds of things.
    http://download.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/sdk/idoc_script_reference/wwhelp/wwhimpl/js/html/wwhelp.htm
    IDOC script by usage / Workflow
    wfNotify is the one you want to look at specifically.
    Workflow
    The following Idoc Script variables and functions are related to workflows.
    Configuration Variables
    isRepromptLogin
    IsSavedWfCompanionFile
    PrimaryWorkQueueTimeout
    WorkflowDir
    WorkflowIntervalHours
    Global Functions
    getValueForSpecifiedUser
    Workflow Functions
    wfAddActionHistoryEvent
    wfAddUser
    wfComputeStepUserList
    wfCurrentGet
    wfCurrentSet
    wfCurrentStep
    wfDisplayCondition
    wfExit
    wfGet
    wfGetStepTypeLabel
    wfIsFinishedDocConversion
    wfIsNotifyingUsers
    wfIsReleasable
    wfLoadDesign
    wfNotify
    wfReleaseDocument
    wfSet
    wfSetIsNotifyingUsers
    wfUpdateMetaData
    Other Variables
    AllowReview
    dWfName
    dWfStepName
    entryCount
    IsEditRev
    IsWorkflow
    lastEntryTs
    SingleGroup
    wfAction
    wfAdditionalExitCondition
    wfJumpEntryNotifyOff
    wfJumpMessage
    wfJumpName
    wfJumpReturnStep
    wfJumpTargetStep
    wfMailSubject
    wfMessage
    wfParentList
    WfStart

  • Parallel workflow in Process controlled workflow

    Dear experts,
    could you please answer -
    is it possible to use parallel worklow in the process controlled workflow?
    for example, there is a requirement that all the department managers should approve the RFx document or contract.
    Is it possible to simulate this process using the process controlled workflow in SRM 7.0?
    It seems, that in the standard it is possible only via sequential approval - i.e. the first manager approves
    the document, then it goes to the second etc.
    Or all the managers receive the work item, but only one manager in fact approves it.
    Both variants are not suitable.
    Maybe there is another way to simulate the parallel worklow process?
    There is an option called decision sets, but it can be used for shopping cart only.
    Thanks a lot in advance,
    Andrey Averin.

    Hi,
       Yes- This is possible through Process controlled workflow. I am doing a smiler kind of workflow development. like category approvers .. Category approval will split by category...but you have to build the logic such a way that read all the items and send to all the approvers.. But now i have noticed that even through all approvers will receive parallel workitem but Approver A can't open his/her workitem if Approver B is in the process of approve/reject the workitem( Meaning when he double click the workitem in detail) then Approver A will receive a Error pop up message saying that Approver B is working on this document.
    John.

  • Antivirus scan implementation for WebCenter Space/UCM upload document

    Hi all,
    I am trying to find some information how to implement the anti-virus scanning engine in integrated Oracle Content Manager (UCM) in WebCenter Spaces. More specifically, when a user uploading a document in the Document Manager portlet by clicking Upload button, the document is scanned by an anti-virus engine on the server before it saves to the document repository. This functionality can be found in most of the online email services such up Yahoo and Google Mail.
    Has anyone in this forum done/investigated such anti-virus scan function?
    I know this will need to dig into the Upload "event", to hookup the scanning engine. Does anyone know what jar/war file with the "upload" class or javascript controlling the Upload button?
    Thanks in advance.
    Johnny
    Edited by: johnny.zhang on Jun 9, 2010 7:49 AM

    To be honest, i don't think this is something you can do in webcenter itself.
    UCM has a quiet good system for hooking into the default behaviour based upon events and so. I believe your answer is their.
    Perhaps you can ask this question in the ECM forum below because i think it's more an content server thing than a webcenter thing.
    Also, be noticed that you should check the licence of UCM if you are planning in hooking into the events of UCM. THe default licence you get with the webcenter services for UCM is a limited one were you can only use it for webcenter. I don't know if you are allowed to use other components beside the default one installed.

  • Parallel workflow instances

    Hi Experts,
    Need help for the scenario on which i am working..
    SAP System: ECC 5.0
    Scenario:
    1) Material master workflow is triggered through a customized event and  we are passing material number
    and Sales Org as the object key for Business Object.
    3) Based on the Sales Org, plants will determined using a background task.
    2) After this we have to send tasks(for creating a view) to the agent, for a plant and material combination
    and these tasks should be in parallel. number of plants can be more than 100.
    3) Once all these parallel tasks is completed then workflow should continue .
    4) other workflow task based on material and sales org combination...
    For sending parallel task for a material and plant combinations (Point 3), i can trigger a seperate workflow.
    so there will be n instance of this new workflow based on material and plant combination.
    But my concern is How workflow will know that all the workflow instances of new workflow is completed
    for the material for which main workflow is triggered.
    Please suggest.
    Please let me know if there is a some other way for sending parallel task from the workflow..
    Thanks,
    V

    I will create a new step and pass the remaining plants using the same Table-Driven Dynamic Parallel Processing .
    Again i have a issue, there will be multiple parallel task created but how i will know which particular task is related to which plant.
    I want to pass the plant name in the Task description, how i can do that...
    I will a create a new thread for this issue.
    Regards,
    Vargi

  • SAP MDGF Parallel Workflow

    I have requirement where I need to process the change request in the parallel steps, meaning once the request is submitted the CR will go to two specialsts namley specialist A, specialist B. Once both of them approve CR has to go to Steward C.
    Is this something possible in standard MDGF workflows. Can any one share the name of the workflow or do we need to build the custom workflow.

    Hi Rajesh,
    If your Change request work flow does not contains any deadline monitoring steps where you need to monitor the work flow decision tasks in users inbox then this can be accomplished by using BRF.
    Check link:
    https://www.youtube.com/watch?v=zarxavi0MnI
    And if you have deadline monitoring steps then you can create a custom workflow using events and tasks.
    Please let me know if you need any more details.

  • Implementing a workflow with Rx

    Hi there :)
    I'm trying to implement an idempotent, fault-tolerant workflow pattern. Idempotent meaning it can run many times and the state change occurring is the same for however many times the workflow runs. Fault-tolerant meaning the workflow can be interrupted at
    any point, and should be able to run again without any problems.
    Currently I'm just doing this with a Task returning method. However this is far from ideal. I'd like to explicitly pull out the "chain of sub-tasks" aspects so I can either await the whole chain of sub-tasks, OR await each individual step. So I
    could write some code to the effect of "run this chain of tasks until step B, and then return control to the caller". The benefit of this is that I could test the fault-tolerancy of the code in an automatic manner. Just write some tests that stop
    the "chain of tasks" at each stage, and run it again and then check the output is correct.
    I'm thinking Rx is probably the right way to do this, but I'm not sure how best to start. Any advice would be appreciated.

    I don't sure that Rx is the right framework solve your problem,
    in order to replay specific value you should be able to
    flow the error state back to the sender.
    at the end of this reply you can find RX solution but 
    keep in mind that
    RX's API are forward only void OnNext<T>(T value)
    while the Retry operator will only resubscribe to the steam.
    if you don't  keeping the latest value alive retry alone won't help you 
    you may want to check project
    Orleans
    http://research.microsoft.com/en-us/projects/orleans/
    for example check the following snippet (retry alone)
    var source = Observable.Range(0, 10).Publish();
    var xs = source
    .Do(m =>
    if (m % 2 == 0)
    throw new Exception("Error " + m);
    .Retry()
    .Do(m =>
    if (m % 2 == 0)
    throw new Exception("Error " + m);
    .Retry()
    .Subscribe(m => Console.WriteLine(m),
    ex => Console.WriteLine(ex.Message),
    () => Console.WriteLine("Complete"));
    source.Connect();
    something you can do with RX (but you should understand the composition)
    is using a composition of replay (to keep the last value)
    and retry to resubscribe
    the following snippet demonstrate the idea,
    as long as you don't use ObserveOn or Scheduler to apply concurrency
    RX by convention will keep the execution synchrounously
    var dic = new HashSet<int>();
    var xs = source
    .Replay(1).RefCount()
    .Do(m =>
    if (m % 2 == 0)
    if (!dic.Contains(m))
    dic.Add(m);
    throw new Exception("Error " + m);
    .Retry()
    .Replay(1).RefCount()
    .Do(m =>
    if (m % 2 == 0)
    if (!dic.Contains(m))
    dic.Add(m);
    throw new Exception("Error " + m);
    .Retry()
    .Subscribe(m => Console.WriteLine(m),
    ex => Console.WriteLine(ex.Message),
    () => Console.WriteLine("Complete"));
    source.Connect();
    Bnaya Eshet

  • How to implement schedule workflow using SharePoint Designer?

    Hi All,
    Please let me know , How to implement the schedule workflow using Share Point Designer.
    Thank You.
    Regards,
    ~Sri

    +1 to this. The closest that you'll get with list / level features is using Information Rights. You can trigger workflows based on time/date columns, which may serve your needs.
    Failing that, you will indeed need a custom timer job.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to launch a workflow  in ucm

    how to launch a workflow without starting it from the start button in admin workflow.
    i want to launch aworkflow whenever a particular event occur

    You want a criteria workflow. Setting one up is discussed, among other places, in the "Workflow Implementation Guide".
    http://download-west.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/admin/workflow_guide_10gr3en.pdf
    -Alan

  • How to implement parallel processing in oracle.

    Hi Gurus,
    In one our procedures we are calling 7 procedures internally. We want to execute them parallely insted of sequentially.
    Please help me to resolve this issue.
    thanks in advance...

    Hi,
    You have dbms_job package in Oracle 9i and dbms_scheduler from Oracle 10g.
    Though you can run all these procedures parallel submitting via dbms_job, any exception/error out in any of these procedures need to be handled explicitly. Just be aware that once you submit these jobs, your application loses control of the execution and you have to build a whole infrastructure for rerun in case of an exception(log/exception tables, monitoring application to periodically check the exception tables, alerts from procedures in case of an exception and so on ...)
    It's going to become more complex if you have any dependencies between these procedures.

  • Parallel workflows in CUP

    Hello Experts,
    our environment has SAP HR , GRC CUP (5.3) and Active directory(connected to IBM tivoli Manager).
    I have a requirement where I need to provision user IDs to SAP systems through GRC CUP after the Hire event is completed in SAP HR.  To provision in SAP, we need to first create  Active directory ID ( network ID) before we can use this ID as sap user ID. we are planning to use position based security in SAP HR.
    Question: After the Hiring event is completed,can I initiate 2 paths in  GRC CUP workflow where one path creates the Active directory ID and then provides that Active directory ID to the second path which will then use this to provision in SAP systems.
    The Active directory is connected to IBM Tivoli Identity manager.  so we have to create Active Directory account through IBM Tivoli Manager.
    Can you share your thougts on this. can we build a workflow like that. If not, any other alternative thoughts ??
    Thanks

    My 2 cents on SAP IdM and GRC integration scenario (draft):
    1.     HR will create an employee record in HCM
    2.     IdM monitors changes and create a network (AD) id and email id (Assumption : Network id and SAP UserIds same)
    3.     IdM updates the email address back to the HCM systems
    4.     Hiring manager enters the required roles. 1* (one more option, manager may add the business role and the business roles are mapped to the technical roles in IdM)
    5.     IdM sends the SAP systems requests to GRC 5.3 RAR
    6.     If there are no violations, the request returns to the IdM and IdM completes the provisioning process and roles need to be approved.
    7.     If there are violations in the request(CUP approval), after the role owners approval, request returns to the IdM and then IdM completes the provisioning process.
    8.     Manager (Only) gets the notification of user creation and logon credentials will be given to the new employee If non-SAP (AD) provisioning process not happened prior to SAP provisioning process. (not clear yet)
    Questions:
    1.     1* Does IdM complete creation of network id? If it does, then manager could enter the new employeeu2019s email id. (Not sure whether manager only able to add roles or adding roles and email id)
    2.     Not sure whether IdM completes the non-SAP systems (like AD, etc) prior to SAP systems in the same request.
    Reference:
    Page 11/14:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60a4802f-b6cd-2b10-1ebf-e269d127a634?quicklink=index&overridelayout=true
    Page 8/48:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30027e41-b5cd-2b10-4593-df65027f8c55?quicklink=index&overridelayout=true
    Thanks
    Himadama

Maybe you are looking for