Human task - Parallel flow - sharing payload

Hi All
Can I have a human task that is assigned parallely to two different user groups, and when the user in one of the group changes/updates the payload, the user in the other group (the other branch of the parallel flow) is able to see the change?
Thanks
Satinder

Hello,
I have the same problem can anybody help! My project has been locked in this point. if any body can help I do highly appropriate it.
Thank you so much

Similar Messages

  • Payload on Human Task and Task Form

    Hi all,
    I have implemented a simple BPM process on Oracle BPM 11g suite, that it calls a human task activity. The payload, for this activity, is a Data Object (related to external XSD) and it is editable via worklist. The user interface for this Human Task implementation is generated automatically through Auto-Generate actions without any customization.
    The application has been deployed successfully from JDev, but when I open the task by Workspace, I see all fields of payload in read-only mode, so I cannot edit nothing in the task form.
    Please let me know what could be the problem.
    Thanks,
    Paolo

    Are you using ps2 (11.1.1.3)? There was an issue where initiator human task activities that had parameters that were complex types needed to have the Data Object initialized via a script activity, or the fields could not be edited in the task from.
    There's an example of how to use the script in the SalesQuoteDemo. Basically you use the oraext:parseXML() function to create an initialized version of the Data Object and assign it to the Data Object in a script activity that's placed before the Initiator Human Activity. It can also be used to set defaults if needed. Here's a snippet of the expression from the SalesQuoteDemo.
    oraext:parseXML('<ns1:QuoteRequest xmlns:ns1="http://www.mycompany.com/ns/salesquote"><ns1:Summary>....</ns1:Summary<ns1:QuoteRequestStatus/></ns1:QuoteRequest>')

  • Human Task expiration containing Task History from another Human Task

    Hi All,
    Let me explain you my complete workflow in brief.
    I have 8 Human Tasks and all are sharing Task history. My each individual Human task are in Scope activity. In my payload I have a variable "strExpiryDuration" and I am setting its value in an Assign activity before my last human task. I have assigned this variable "strExpiryDuration" in the expiry duration of my last human task definition. For the reference I am giving the value as "*P0DT1M*". But it is not expiring my last human task at all. I doubt it may be because task history which I am sharing in my human tasks is overwriting the payload values and thats why the value of strExpiryDuration is not setting up in task definition.
    I checked by assigning the same variable strExpiryDuration to some other value ("*P3DT1M*") and assigning it to my first human task definition. In this case, whenever the workflow is assigned to my last human task it is also showing Expiry date as of after 3 days. What is the issue here? Please help.
    Regards,
    Murtaza
    Email:
    murtaza.ghodawala @ alshaya.com
    Edited by: user8977605 on Apr 21, 2011 6:48 AM

    I have found the solution to this generic problem. Whenever you have a human task sharing task history in your workflow, you need to ensure that the changed/modified payload value is assigned to the human tasks properly. In most of the cases, Task history sharing Human Task will override the payload values with the payload values of the previously executed human task in the workflow.
    For that the fix is as below:
    1. Expand the Human Task.
    2. In the Assign activity, write a copy operation in which copy the changed individual payload variable to the payload variable of the Human task whose task history we are sharing.
    For e.g.
    <copy>
    <from variable="inputVariable"
    part="payload"
    query="/client:TravelRequestProcessRequest/client:ExpiryDays"/>
    <to variable="ApprovalsTask_1_globalVariable"
    part="payload"
    query="/task:task/task:payload//client:TravelRequestProcessRequest/client:ExpiryDays"/>
    </copy>
    3. Make this copy operation as the first operation in the Assign Activity.
    I hope this solution will help you to resolve your issues.
    Regards,
    Murtaza Ghodawala
    Email:
    [email protected]
    Edited by: user8977605 on Apr 24, 2011 12:53 AM

  • Using taskFlow in auto generated human task

    Hi,
    I have auto-generated ADF human task which have simple payload with InvoiceId attribute.
    In worklist app I see this attribute and in page source there is an input text with value set to #{bindings.InvoiceId.inputValue}.
    I would like to add my custom task flow, which takes invoiceId as a parameter. When I set this parameter to #{bindings.InvoiceId.inputValue} I obtain strange errors.
    How should I set this parameter to the payload value? (I am using JDev 11.1.1.5.).
    kind regards,
    Krzysztof Polak

    I would like to add my custom task flow, which takes invoiceId as a parameter.Does that mean you have dropped your own task flow as a ADF region into your auto generarated page and you are passing InvoiceId as input parameter to the regionBinding ?

  • Accessing Human Task Payload from ADF Task Flow

    Hi
    Using jDeveloper 11g TP4 SOA...
    The scenario is this:
    1. We have created a Human Task which has parameters accountId and accountType in the payload.
    2. We have then created a Task Flow based on that human task.
    3. Inside the web folder with task flow we have *4 task display forms* (jspx pages).
    4. In the task flow we have the 4 pages and then a router
    5. Now we want the router to look in the payload of the human task and based on the accountType redirect to the correct task display form.
    Problem: We can't access the human task data control from the router in the task flow.
    Does anyone have some insigt into how we can read the accountType from the payload and then pick the correct task display form?

    Hi victor,
    i'm using a SOA(OSB) based task service, but i think that you have to use a "task service" (or something like this) to update your task
    this is my routine
    public Task updateTask(Task task) throws Exception {
    TaskServiceContextTaskBaseType taskUpd =
    new TaskServiceContextTaskBaseType();
    taskUpd.setWorkflowContext(getWorkFlowContext());
    taskUpd.setTask(task);
    return taskService.updateTask(taskUpd);
    where taskService is the port of my proxy.
    Hope this help

  • Creation an ADF Task Flow Based on a Human Task

    Hello!
    While creating ADF Task Flow Based on a Human Task, I can't bind New TaskFlow to task, which I choose in Dialog.
    Details:
    I Have:
    BPM Project with PackageCreation.task
    ADF Project in Same Application
    I do:
    1. in Application Navigator right click on ADF Project -> New -> Web Tier -> JSF -> ADF Task Flow Based on a Human Task
    in creation Dialog I choose PackageCreation.task and Don't change name of New TaskFlow (automatically JDeveloper set this name to PackageCreation_TaskFlow)
    I have After that:
    new ADF Task Flow and my old PackageCreation.task.
    Question:
    Why my Task don't bind to created ADF task Flow based on it?
    I think, that while creating ADF Task Flow Based on a Human Task it has to change my task, writing some thing like This (inside xml):
    <taskFlowFileLocation>file:/D:/JDeveloper/mywork/SalesQuoteLab/EnterQuoteUILab/public_html/WEB-INF/EnterQuoteDetails_TaskFlow.xml</taskFlowFileLocation>
    That xml element is creating in xml of *.task, while making auto-generation form for human task in BPM Project.

    Juan C,
    I use JDeveloper 11g Release 1.
    May be I didn't explained my question correctly.
    taskdetails1 is creating, and in Data Controls I have objects of my BPM Human Task Payload.
    But in that file "PackageCreation.task" in source I can't find any link to instantly created TaskFlow.xml in my UI project.
    So, I have
    NEW project "PackageCreationUI" with PackageCreation_TaskFlow.xml in it (and TaskDetails1 file too).
    AND Did't Changed PackageCreation.task in BPM Project.
    If I use *"BPM form creation wizard"*, after creating project and TaskFlow in it I see Changes in PackageCreation.task in BPM Project, something like that:
    <taskFlowFileLocation>file:/C:/JDeveloper/mywork/testApp/PackageCreationUI/public_html/WEB-INF/PackageCreation_TaskFlow.xml</taskFlowFileLocation>

  • Update an ADF Task Flow based on Human Task

    Hello friends,
    I'm working on Oracle BPM Suite 11g. So, I created a process including its human tasks. Later, I created a Task Flow based in the human task that I setup before. Now I added a new parameter to the human task and I need to update the task flow because (of course) it only contains the payload of the previous configuration.
    Can I do that? What can be the solution?
    Regards....
    AYVR

    It's covered in docs here: http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10224/bp_designtf.htm#BDCDFBCB
    Note that this only updates the control. You'll have to now drag those new payload properties onto the form. If you had removed any properties you'd need to remove those from the form.
    You should also do a refresh of the window that contains the data controls. Sometimes that's necessary to see the changes.

  • Human Task Flow conflict on Data Controls generation

    Hi, I have two distinct human tasks in one process. When I use new-> JSF-> ADF task flow from Human task to create the task flow for the second task to the same public-html/web-INF folder as the first one, after the generation, the data control for the first human task flow will disappear from the data control window.
    I am trying to rebuid my old app into a new app. Although I can create two distinct human task flows in my old app, no luck in the new app. Both apps use JDev 11.1.1.5 and on the same machine. Anybody can give me some hints on the issue?
    Thank you

    Juan C,
    I use JDeveloper 11g Release 1.
    May be I didn't explained my question correctly.
    taskdetails1 is creating, and in Data Controls I have objects of my BPM Human Task Payload.
    But in that file "PackageCreation.task" in source I can't find any link to instantly created TaskFlow.xml in my UI project.
    So, I have
    NEW project "PackageCreationUI" with PackageCreation_TaskFlow.xml in it (and TaskDetails1 file too).
    AND Did't Changed PackageCreation.task in BPM Project.
    If I use *"BPM form creation wizard"*, after creating project and TaskFlow in it I see Changes in PackageCreation.task in BPM Project, something like that:
    <taskFlowFileLocation>file:/C:/JDeveloper/mywork/testApp/PackageCreationUI/public_html/WEB-INF/PackageCreation_TaskFlow.xml</taskFlowFileLocation>

  • Participate in the same DB Transaction within Human Task Flow ADF screen.

    Functionality:-
    I have a ADF workflow screen generated from a Human Task flow, and for the business reason I run through the ADF Iterator and get the attribute values and persist within a table using an Application Module.
    I am using the Application Module, and creating as below:-
    String amDef = "model.TestAM";
    String config = "AppModuleLocal";
    TestAM service = (TestAM)Configuration.createRootApplicationModule(amDef,config);
    Now, the issue is when I call the saving mechanism within the above AM client interface, it expects a commit, and this transaction doesnt participate in the same transaction as workflow process, so can anyone let me know how to get hold of the transaction handler and make this persistence to participate within the same one workflow transaction.
    Cheers,
    Saran.

    Hi,
    don't see how the transaction can be shared between the two. Any reason you don't use a DataControl for the ADF BC access and instead use client code creating a root application module?
    Frank

  • Human task preventing to press go button. (required field in payload)

    We have an one step BPEL human task implementation and assigned user must be filll some field of payload before sending task.
    The problem is we are using standart worklist app and assinged user can send the task from worklist without opening it. So we can't control required field.
    We need a Precondition like rule
    is there any way to
    Our SOA suite version is 10.1.3.3.
    Thanks.

    Know this is probably not the direction you wanted to go, but look at Vinay Kumar's blog post on using an initializer:  http://www.techartifact.com/blogs/2013/04/using-a-task-flow-initializer-to-initialize-a-task-flow.html#sthash.CG1CAgfz.1….  (pretty sure he got this from Nick Haralabidis's book: Oracle JDeveloper 11gR2 Cookbook: Nick Haralabidis: 9781849684767: Amazon.com: Books).
    In this a prepare method is created in the Application Module impl java similar to your initialization code:
      public void prepare() {
        // get emps vo instance
        EmployeesVOImpl employees;
        employees = (EmployeesVOImpl)getEmployeesVO();
        // remove all rows from emp rowset
        employees.executeEmptyRowSet();
        // add a new emp row
        EmployeesVORowImpl employee = (EmployeesVORowImpl) employees.createRow();
        // add new emp to rowset
        employees.insertRow(employee);
    Once you expose this as being a Client Interface in your application module, you have the method available to you to drag into your task flow and set the task flow's "URL Invoke" property to "url-invoke-allowed").  This would give you the empty row you're going to populate.
    I don't go this route and instead drag a CreateInsert method onto the task flow as the initial default activity and then flow to the page.  To commit it, just create a binding for the Application Module's commit operation and invoke it from the backing bean when you intercept the submit action.
    Hope this helps,
    Dan

  • Dynamic participant block in Human task flow

    Hi All,
    I am working on human task flow and got stopped on below use case.
    I have two participant block let say A and B. I want to assign participant A depends on flat inside task flow parameter. If Flag is Yes, then it should assign to A and on approval of A it should complete the task flow. But if Flag is NO, then it should first assign to B, on approval from B, it should again assign to A and after that it should complete the task flow.
    I tried to use dynamic role assignment but there i am not able to define above use case. Dynamic rule is saying you can assign A or B depends on some rule(task flow parameter) but my requirement is little different.
    If Flag is Yes,
    - assign to A -> on approval -> complete the task flow.
    If Flag is No
    - Assign to B -> on approval from B -> assign to A -> on approval from A -> complete the task flow.
    I want to build this logic inside single human task flow.
    Please help.
    -Sunil

    Hi Zaloa,
    Can you pls try this.This should work.
    1. Go to Edit Task Definition page and add a Parameter of type string(default).
    2. Now come to the human task dialog( the one you get on double clicking the human task activity) and add a value to the parametr you just added(string)using the search light .This value should be the variable containing the value of the asssigne which you want to add dynamically.
    3.Now again go to the Edit Task Definition page and select the Assignment policy and select the expression path builder.
    4. You should be able to see the parameter you just added under task:payload. select this . now your assigne is dynamically added.
    Pls let me know if you need further details. Hope this helps.
    Thnks
    Message was edited by:
    soaUser

  • Human task flow call back events with external web service

    Hi All,
    I have a requirement to call webservice inside human task flow. I have three participant in my human task flow. Let suppose A, B and C. When A approves then task will be assigned to B and when B approves it will go for C.
    My requirement is that, when A approves , then i need to call one external webservice to update database. For this i have enabled call back events from human task flow.
    In this way i got while loop inside my BPEL. In onTaskAssigned operation i am now trying to call external web service. My requriment is to call external service and get data from service. After getting response from the webservice, i want to assign it to next participant.
    But in this case, when user B approves, it goes to onTaskAssigned block and i am able to make external web service also but mean time, it has been assigned to User C which i do not want.
    I want Human task flow to wait for the web service response then only assign it to next participant.
    Please help.
    Regards,
    Sunil

    Hi Sunil
    Have you tried using WebServices Adapter. The usecase seems pretty straight forward. You have a WebService that has some code and some Operations to update some Database. First thing, I hope you have methods/Operations defined with request and response xsd for each operation.
    Now you define the main master payload, that should have all elements specific to your process and also few elements to store the output coming from each operation. Because response of each operation may need to go to other Task and get saved in the Payload also.
    You have like 3 Tasks. To complicate, I will assume that each Task can either Approve or Reject. And last 2 Tasks gets data from payload, previous task and also output from the WebService Operation (method).
    Task A -> Xor Gateway (Approve/Reject) -> If Approve -> Call WebServices Adapter -> Task B -> Xor Gateway(...) -> ......
    At each intersection, you can map the attributes for incoming and outgoing. Based on WebServices output also, you can have Another XOR Gateway and decide to send to Task B or do something else. So combinations of outputs of each service (task or webservice adapter) and XOR gateways, you can have a decent control on the overall flow.
    Note: I am hoping the webservices is Synchronous where you get the response immediately.
    Let me know if I am missing something.
    Thanks
    Ravi Jegga

  • Flow, 2 branches, 2 Human Tasks

    I have a flow with two branches, each contains a Human Task.
    Two questions.
    1) Is there a way to complete the flow and continue the process as soon as the first Task (not both, just one) complete? I mean, without waiting for the second to complete.
    2) Once the first Task is completed, the other one should be automatically closed, without human intervention. How can i achieve this in the process? I tried to invoke the Task Service but the "taskId" property of the Task is not set. How can I do?
    Thanks,
    Simone

    I have a somewhat similar situation here :-
    I have 2 Human Tasks in parallel flow.
    Before it reaches the parallel flow, there are another 2 Human Tasks one after another.
    In the initial Human Tasks, I can see all the file attachments along with its content, Mime-Type & Name.
    But when the process reaches any of the 2 Human Tasks in parallel, the contents of the file attachments are not visible.
    The reason being, when the process flow reaches one of the 2 Human Tasks in parallel, I have unchecked the Include Task History check-box in the Advanced tab of the 2 Human Tasks which are in parallel flow, as a result
    2 new tasks are created for them.
    After observing WFATTACHMENT table of ORABPEL schema, I came to know
    that new file attachment records are created for these 2 new tasks.
    The Name & the Mime-Type of the file are seen properly in the Task List JSP Page, only the contents of this New Task file attachments are not visible.
    Have anybody faced such similar kind of situation ?
    Please do help Geeks.
    Thanks & Regards,
    Gopal D. Kalsekar
    Senior Software Developer
    Business Solutions (eGroup)
    M.H. Alshaya Company W.L.L.
    www.alshaya.com
    P :- (965) 224 3598
    F :- (965) 224 2488
    E :- [email protected]

  • Display the status of parallel human tasks in ADF web page (BPM 11g)

    Hi,
    We create a BPMN process (BPM 11g) which splits into parallel branches. Each branch has its own user activity. We want to show the task status of ALL the parallel user activities (running or completed) in the ADF web page implemented for the user activity so the user would have the whole picture of the process.
    In another words, we are able to check the status of the component instances associated with the process instance in the Oracle EM. We want to provide the similar information (in our case, we only want to show the status of the human task components) to the user when they access the human task page.
    I wonder if the only solution is to write Java code with the API to lookup the BPMN process instance. We try to avoid Java coding if possible. Please advise. Also, so far, I have not found any complete instruction/document on how to access the BPMN process instance and check the tasks etc. through the API. Please help if you know where I could get such information.
    Thanks a lot,
    Helen

    sorry!!
    http://www.esnips.com/doc/dca05e99-d5ca-49ce-80c8-5bedfe27a24a/screenshot-2

  • Error while deploying the ADF task flow project based on a SOA human task

    Hi,
    I created a SOA project with a BPEL process containing Human task, deployed it and could able to test it successfully. I created ADF task flow project based on the Human task created in the earlier project and tried to deploy it. It is giving the following error. The idea is to display the task details in BPM worklist.
    [04:10:53 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application RevisionApprovalMgmtTaskFlow [Version=V2.0] on soa_server1.: null.
    [04:10:53 PM] Weblogic Server Exception: weblogic.application.WrappedDeploymentException
    [04:10:53 PM] See server logs or server console for more details.
    [04:10:53 PM] weblogic.application.WrappedDeploymentException
    [04:10:53 PM] #### Deployment incomplete. ####
    [04:10:53 PM] Deployment Failed
    The server log shows this detailed error.
    java.lang.IllegalArgumentException
         at oracle.xml.xpath.JXPathExpression.evaluate(JXPathExpression.java:178)
         at oracle.xml.xpath.JXPath.evaluate(JXPath.java:288)
         at oracle.security.jps.internal.config.xml.XmlConfigurationFactory.initialize(XmlConfigurationFactory.java:425)
         at oracle.security.jps.internal.config.xml.XmlConfigurationFactory.getConfiguration(XmlConfigurationFactory.java:149)
         at oracle.security.jps.internal.config.deploy.CredentialStoreDeployer.getCredentialStore(CredentialStoreDeployer.java:56)
         at oracle.security.jps.wls.listeners.CredentialDeployment.migrate(CredentialDeployment.java:83)
         at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.migrateAppCredential(JpsApplicationLifecycleListener.java:137)
         at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.preStart(JpsApplicationLifecycleListener.java:78)
         at weblogic.application.internal.flow.BaseLifecycleFlow$PreStartAction.run(BaseLifecycleFlow.java:277)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:194)
         at weblogic.application.internal.flow.BaseLifecycleFlow.preStart(BaseLifecycleFlow.java:57)
         at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:279)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:609)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:185)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:53)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Apart from these, I have Model and View Controller projects in the application. If I create the ADF task flow based on a Human task in another sample application, it works fine. Only in this application, it does not work. Not sure what this error is. Any ideas?
    Thanks,
    Manoj

    What I suggest is go into EM and undeploy this composite and all versions. (Only if you don't want the existing ones). Then redeploy your process. This will avoid the version conflict and create a new version. 1.0. Then the next time you try and deploy you need to either specify a new version or check the box to say the version can be over written.
    cheers
    James

Maybe you are looking for

  • How does ANTIVIRUS work?

    I know this isn't really related to java. How does ANTIVIRUS work?

  • Tax Codes not visible

    Hi all, I have just migrated SAP B1 from 2005B to 2007. i am having a problem with the tax codes. all the tax codes seems to have migrated. I can see then when I write a query for all the tax codes. but i can only see the 5 basic codes when trying to

  • Ensure that all database components/objects provided by Oracle are VALID

    Hi Guys need some clarification concern the below point from -> 1503653.1 Ensure that all database components/objects provided by Oracle are VALID in the source database prior to starting the upgrade. Ensure that you do not have duplicate objects in

  • Hide the Settings button in POWL

    Hi, I am working on powl application. When we run Standard powl application there are two buttons "filter" and "settings" at the right top of table. How  to hide/remove Settings button ? Any inputs. ? Edited by: pankaj aggarwal on Oct 8, 2009 4:07 PM

  • Exception in detailed navigation

    Hi All, I am getting exception for detailed navigation par file. Here is the details about the exception Portal Runtime Error An exception occurred while processing a request for : iView : N/A Component Name : N/A com.sapportals.portal.navigation.INa