Problem updating payload on human task

Hi,
I'm developing an form where the user has to fill a set of fields, this fields are stored in the task payload. What happens is that if I use the save action the payload is updated but the screen refreshes and you need to selected the task on the work list again. To resolve this issue I'm using the update function of the task data control, but it only allows me one update to the data in the payload, then if I change a field and update it, it's not stored. I'm looking for a way to replicate the save action but without closing the form.
Thanks.

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

Similar Messages

  • Problem updating payload

    Hi
    I am having trouble updating the payload of a task. Whatever I try, I get an exception saying that the parent 'task' node is read-only and so the 'payload' child node can't be updated. I have attached a sample stack trace (edited slightly for legibility).
    I have tried all kinds of solutions - cloning nodes, importing nodes, using the multifarious DOMUtil(s) classes that are hanging around to do this and do that, but if the message is correct, then it all seems hopeless.
    How does the task node get set to modifiable? Presumably it should get versioned internally by bpel pm and the updates made to the new copy, but that is clearly not something I should be worrying about as an application developer. Is there a timing problem with the versioning - trying to update before the new version is created? (I am calling IWorklistTask.setPayload followed by IWorklistService.updateTask(context, task), although obviously the code never gets as far as updateTask).
    Is there another method I should be using instead of IWorklistTask.setPayload? Or something else to call beforehand?
    Any help would be appreciated because this is really frustrating :<)
    Best wishes
    John Prince
    org.w3c.dom.DOMException: Modification is not allowed on the w3c dom node
         "<task xmlns="http://xmlns.oracle.com/pcbpel/taskservice/task">
         <taskId>18a858bbe1d2345b:737371:10320abfe2b:-7fb1</taskId>
         <title>Confirm Address Change</title>
         <acquiredBy>john.prince</acquiredBy>
         <owner>bpeladmin</owner>
         <conclusion/><state>ASSIGNED</state><subState>ACQUIRED</subState>
         <processId>HomeAddressChange</processId><processName>HomeAddressChange</processName><taskGroupId/>
         <taskType>http://PC-05-008:9700/orabpel/default/HomeAddressChange/1.0/taskConfigSimpleWorkflow1.xml</taskType>
         <identificationKey/><priority>3</priority><creator>bpeladmin</creator><updatedBy>john.prince</updatedBy>
         <processVersion>1.0</processVersion><instanceId>1113</instanceId><domainId>default</domainId>
         <payload><PersonChangeRequest xmlns="http://bedag.ch/pef/prototype" targetPN="500000" userPN="111111">
              <address><zusatz/><strasse>Scheibenstrasse 19</strasse><plz>3014</plz><ort>Bern</ort></address></PersonChangeRequest>
         </payload>
         </task>"
    because of its root element "task" state is "READ-ONLY". Please consult the documentation for a list of all the permissible operations that can be performed on a dom node when it in the "READ-ONLY" state.
         at com.collaxa.cube.xml.dom.CubeDOMElement.checkIfCanModify(CubeDOMElement.java:1695)
         at com.collaxa.cube.xml.dom.CubeDOMElement.markAsDirty(CubeDOMElement.java:1581)
         at com.collaxa.cube.xml.dom.CubeDOMElement.removeNode(CubeDOMElement.java:472)
         at org.collaxa.thirdparty.dom4j.tree.AbstractElement.remove(AbstractElement.java:1454)
         at org.collaxa.thirdparty.dom4j.tree.AbstractElement.remove(AbstractElement.java:1353)
         at org.collaxa.thirdparty.dom4j.tree.AbstractNode.detach(AbstractNode.java:114)
         at com.collaxa.cube.xml.BaseFacade.removeChildElement(BaseFacade.java:530)
         at oracle.tip.pc.services.hw.task.impl.Task.setPayload(Task.java:1523)
         at oracle.tip.pc.services.hw.worklist.WorklistTask.setPayload(WorklistTask.java:1742)
         at ch.bedag.pef.prototype.iflow.utils.bpel.WorklistUtils.updatePayload(WorklistUtils.java:36)
         at ch.bedag.pef.prototype.iflow.web.pages.Address.changeAddress(Address.java:105)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.tapestry.listener.ListenerMap.invokeTargetMethod(ListenerMap.java:257)
         at org.apache.tapestry.listener.ListenerMap.access$100(ListenerMap.java:46)
         at org.apache.tapestry.listener.ListenerMap$SyntheticListener.invoke(ListenerMap.java:97)
         at org.apache.tapestry.listener.ListenerMap$SyntheticListener.actionTriggered(ListenerMap.java:102)
         at org.apache.tapestry.form.Form.renderComponent(Form.java:423)
         at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)
         at org.apache.tapestry.form.Form.rewind(Form.java:568)
         at org.apache.tapestry.engine.RequestCycle.rewindForm(RequestCycle.java:432)
         at org.apache.tapestry.form.Form.trigger(Form.java:582)
         at org.apache.tapestry.engine.DirectService.service(DirectService.java:169)
         at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:872)
         at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:197)
         at org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:326)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at org.apache.tapestry.RedirectFilter.doFilter(RedirectFilter.java:106)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)

    Hi
    I found the problem - as far as I can tell, acquireTask returns an immutable IWorklistTask. When I called getWorklistTaskDetails, it returned a mutable version.
    If this is intentional, you might want to add it to the docs, because is it a bit confusing.
    Best wishes
    John

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

  • Problem passing comments between human tasks - InputText Comment Invisible

    Hi,
    I want to pass the comments between three human tasks, i discover that it to works if i check reinitiate checkbox
    and link all human tasks with the antecedent.
    But, now i have another issue: When i create in the new button in the second human task, the inputText comment is invisible, see the image bellow:
    http://shareimage.org/images/ehmo4rrj80dbswt8fpms.png
    Why inputText comment is invisible ?
    Thanks.
    Victor

    Hi,
    I resolve partially this issue.
    Was a problem in my pageDef.xml. It works and now the inputText is visible.
    The only problem now is: when i make a CLAIM in the second human task, the filed comments is cleaned and the previous comments is losted.
    Why i have to do for comments don't disappear when i make a CLAIM ?
    Thanks
    Victor Jabur

  • How to map payload from Human Task to BPEL

    Hi,
    I have created a human task form for which I send two parameters from the BPEL process.
    The user is able to update the fields containing the sent parameters and then click 'APPROVE' or 'REJECT'. However, I need the values of the updated fields to be returned and not the 'APPROVE' or 'REJECT strings.
    Can anybody help me with this?
    Alex

    Hi Alex,
    If you checked the Editable via worklistapp box then you dont need to update the values.
    These values automatically update the values of these parameters in human task if you properly mapped the values.
    Regards,
    Priyanka

  • Payload in Human Task

    Hi everyone. I have declared in a .xsd file a person as show below:
    <...>
    <xsd:element name="person" type="personType">
        <xsd:annotation>
          <xsd:documentation>
            A sample element
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:complexType name="personType">
        <xsd:sequence>
          <xsd:element name="name" type="xsd:string"/>
          <xsd:element name="lastName" type="xsd:string"/>
          <xsd:element name="studylevel" type="level"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:simpleType name="level">
        <xsd:restriction base="xsd:string">
          <xsd:enumeration value="Higth"/>
          <xsd:enumeration value="Medium"/>
          <xsd:enumeration value="Low"/>
        </xsd:restriction>
      </xsd:simpleType>
    <...>As show, person has an attribute of type level. In the implementation of the HT I select as inputVariable for the task an element person from the .xsd file above.
    I have a custom HT (based on a .task file). When I drad the payload on the page, the attribute level it's displayed as an inputData field and not a comboBox, a selectOneChoice or any other selection component. That's ok, I just convert it to the one I desire, but, when I deploy and see the page, the field it's empty!!
    How it's that possible?? The values are clear from the .xsd. and also it's a valid .xsd file.
    Should I create the selection component with static (same) values of the .xsd and set the value for the payload using bindings??
    Should I do something else to see what I want? Please advice me.
    Any directions, docs or links to solve this issue w'll be appreciated.

    Hi Dariel,
    Perhaps others have gotten an XSD's enumerations to populate an ADF select one choice dropdown, but I haven't figured out how to do it either.
    Guessing you've already done this, but what I've done instead is to
    1. add the "studyLevel" attribute as a text field -> in the Properties tab, copy the text that is in the "Value" field.
    2. add the "studyLevel" attribute again but do it this time by dragging "Select One Choice" into the form -> click the "Create list" radio button -> click the "+" New icon and manually add the item's labels and values -> click "Next" -> change the label -> click "Finish".
    3. for the new Select One Choice dropdown, change the "Value" property setting to the value you copied in the first step.

  • Human Task expiration after server restart

    I am having serious problems related to BPEL human task expiration in SOA 11g. If my server is down or if I restart my server and any human task has its expiration during this server downtime, then this human task never exprires. What I want is that any human task should get expired at its expiration date-time irrespective of server state. Please help.

    I am having serious problems related to BPEL human task expiration in SOA 11g. If my server is down or if I restart my server and any human task has its expiration during this server downtime, then this human task never exprires. What I want is that any human task should get expired at its expiration date-time irrespective of server state. Please help.

  • Human task callbacks issue

    I ran into some problem using callbacks in human task. For example: onTaskupdated, I invoke a WS call, the human task just ignore that as if there is no callback; however, when I shift the invoke to another branch such as onsubtaskupdate, the callback is ignored on subtaskupdate but ontaskupdate works normally. -.-!

    I have tried with MLR Patch # 8372150, but no luck. I have found a similar thread on this forum who has the same issue.
    quartz based workflow times are not initializing
    If this might be the problem, how do we fix the following error message.
    *<::> Unable to get the workflow timers during startup, this can happen if orabpel server is not started properly*

  • Complete Task with Payload Problem  -- no Human Task Drop Handler

    I'm reading section 26.4.1 of Developer’s Guide for Oracle SOA Suite 11g Release 1 (11.1.1) E10224-01 where it refers to figure 26-5 Human Task Drop Handler for Creating the Task Display Form of section 26.4 Creating a Task Display Form.
    I've generated taskDetails1.jspx. I highlight Task as in the figure and right click in askDetails1.jspx (design tab) but I don't get a Create JSF page dialog as in the figure.
    I get a dialog with Insert Before Show Detail Spacer ... etc (no Create /Human Task/Complete Task with payload etc)
    Do I need to position within a particular element ? or is this a bug ? wrongly documented?

    Hi Diana, thanks for your reply.
    You're probably right about 2 different error messages.
    To the 1st one: I'm sure that status task is Assigned (to me). I received an email and I also reply on that email.
    To error log: I found out that error log appears when I enable email endpoint on Complete Task service. But I managed to solve this problem. I set wrong user. Now I have here the same user as is written in login-config.xml so log seems to be ok.
    So I created new task and tried to complete it via email. Now I receive email with another error:
    LiveCycle ES has tried to process your request and encountered the following error:
    com.adobe.idp.dsc.provider.service.email.impl.EmailProviderException: Error getting user context
    This response to your original email
    Subject:RE:Task Assignment - Process: WorkFlowClient/Test. Task 92 has been assigned to you.
    Date Sent:Thursday, October 27, 2011 3:05 PM
    Body:Complete
    DO-NOT-DELETE: MTIxMSExNjAzITIwMTE=!
    Attachments:
    And to the last point: email endpoint is set up with TestPOP3@mydomain and user receiving email has jpetrla@mydomain. I use Lotus Notes as email client, I tried another account with gmail, but the result was same.
    Now I really don't know to do...
    Jan

  • I require a Human Task allowing a null, updatable, payload parameter

    Hello, I hope to get help here for I have been stuck for a while.
    I am developing a BPEL process for employee Onboarding. Several of the Human Task forms contain parameters, like Address2, MIDDLE_NAME, etc, which it is perfectly all right for the parameter to have no value. For my exerts below I will use the MIDDLE_NAME parameter.
    Below is my error message, the assign which is throwing the error, the schema definition DetermineLocation_ht_payload.xsd, and the task definition file DetermineLocation_ht.task
    I have tried various permutations and locations of MinOccurs and nillable. I find it hard to believe that this is such an abnormal requirement, to allow a null element in a Human Task. I am obviously missing something fundemental.
    TheseTask Forms should present data to a user, and allow them to edit the updatable data and Approve. Even the non-updatable elements throw the error if null. Everything else in my process works fine: if I use a single character like a "~" or something when initiating from BPEL Console, all works fine. I hate to use a '~' or something for a "filler", seems so bogus.
    Can someone please help me? I would appreciate it greatly. Thank you in advance.
    Richard
    ERROR MESSAGE
    [2009/04/03 14:27:16] Error in evaluate <from> expression at line "1212". The result is empty for the XPath expression : "/task:task/task:payload/task:EMPLOYEE_MIDDLE".less
    oracle.xml.parser.v2.XMLElement@12cb5f1
    [2009/04/03 14:27:16] "{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.less
    -<selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    -<part name="summary">
    <summary>
    empty variable/expression result.
    xpath variable/expression expression "/task:task/task:payload/task:EMPLOYEE_MIDDLE" is empty at line 1212, when attempting reading/copying it.
    Please make sure the variable/expression result "/task:task/task:payload/task:EMPLOYEE_MIDDLE" is not empty.
    </summary>
    </part>
    </selectionFailure
    ASSIGN CODE
    <copy>
    <from variable="DetermineLocation_ht_1_globalVariable"
    part="payload"
    query="/task:task/task:payload/task:EMPLOYEE_MIDDLE"/>
    <to variable="ReceiveRead_iv" part="Root-Element"
    query="/ns2:Root-Element/ns2:Emp/ns2:EmpMiddle"/>
    </copy>
    DetermineLocation_ht_payload.xsd
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <schema targetNamespace="http://xmlns.oracle.com/bpel/workflow/task" xmlns:tns="http://xmlns.oracle.com/bpel/workflow/task" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <complexType name="payloadType">
    <sequence>
    <element name="RECRUITER" type="xsd:string"/>
    <element name="RECRUITER_FIRST" type="xsd:string"/>
    <element name="RECRUITER_LAST" type="xsd:string"/>
    <element name="SPACE_ADMIN" type="xsd:string"/>
    <element name="EMPLOYEE_NO" type="xsd:string"/>
    <element name="EMPLOYEE_FIRST" type="xsd:string"/>
    <element name="EMPLOYEE_MIDDLE" type="xsd:string"/>
    <element name="EMPLOYEE_LAST" type="xsd:string"/>
    <element name="START_DATE" type="xsd:string"/>
    <element name="GENDER" type="xsd:string"/>
    <element name="SL_OFFICE" type="xsd:string"/>
    <element name="ASSIGNMENT" type="xsd:string"/>
    <element name="PROJECT_MANAGER" type="xsd:string"/>
    <element name="COMPANY" type="xsd:string"/>
    <element name="BUSINESS_GROUP" type="xsd:string"/>
    <element name="WORKGROUP" type="xsd:string"/>
    <element name="SUPERVISOR" type="xsd:string"/>
    <element name="LOCATION" type="xsd:string"/>
    </sequence>
    </complexType>
    <element name="payload" type="tns:payloadType"/>
    </schema>
    DetermineLocation_ht.task
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <taskDefinition targetNamespace="http://xmlns.oracle.com/DetermineLocation_ht" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc" xmlns:task="http://xmlns.oracle.com/bpel/workflow/task" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://xmlns.oracle.com/bpel/workflow/taskDefinition"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath">
    <name>DetermineLocation_ht</name>
    <id>${domain_id}_${process_id}_${process_revision}_DetermineLocation_ht</id>
    <title>Determine Location</title>
    <priority>3</priority>
    <process processId="" processVersion=""/>
    <routingSlip xmlns="http://xmlns.oracle.com/bpel/workflow/routingSlip">
    <globalConfiguration>
    <owner>bpeladmin</owner>
    </globalConfiguration>
    <participants isAdhocRoutingSupported="false">
    <participant name="Assignee1"
    skipCondition="string-length(/task:task/task:payload/task:LOCATION) > 1">
    <resource isGroup="false" type="XPATH">/task:task/task:payload/task:SPACE_ADMIN</resource>
    </participant>
    </participants>
    <onErrorParticipant>
    <resource isGroup="true" type="STATIC">FINALAPPROVERS</resource>
    <resource isGroup="true" type="STATIC">oc4j-administrators</resource>
    </onErrorParticipant>
    <notification includeTaskAttachments="false" actionable="false"
    secureNotifications="false">
    <reminder relativeDate="ASSIGNED" reminderDuration="P1DT"
    recurrence="2"/>
    <action name="ASSIGN" recipient="ASSIGNEES"><![CDATA[concat(string('<table width="100%">
    <TR BGCOLOR=#ededed HEIGHT="100">
    <td>Attention,<br><br>'), /task:task/task:payload/task:EMPLOYEE, string(' has been assigned to '), /task:task/task:payload/task:ASSIGNMENT, string('.  Please click on the link below to enter the location for this new employee.<br><br><br>
    Sincerely,<br><br>
    The BPEL Onboarding Business Process</td></tr></table>'))]]></action>
    <action name="COMPLETE" recipient="CREATOR"><![CDATA[concat(string('Task '), /task:task/task:title, string(' requires your attention. Please access the task from the worklist application.'))]]></action>
    <action name="ERROR" recipient="OWNER"><![CDATA[concat(string('Task '), /task:task/task:title, string(' requires your attention. Please access the task from the worklist application.'))]]></action>
    </notification>
    </routingSlip>
    <workflowConfiguration xmlns="http://xmlns.oracle.com/bpel/workflow/configuration"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <outcomes>
    <outcome>APPROVE</outcome>
    </outcomes>
    <restrictedActions/>
    <payload xmlSchemaDefinition="DetermineLocation_ht_payload.xsd">
    <messageAttribute name="RECRUITER" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="RECRUITER_FIRST" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="RECRUITER_LAST" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="SPACE_ADMIN" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="EMPLOYEE_NO" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="EMPLOYEE_FIRST" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="EMPLOYEE_MIDDLE" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="EMPLOYEE_LAST" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="START_DATE" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="GENDER" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="SL_OFFICE" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="ASSIGNMENT" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="PROJECT_MANAGER" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="COMPANY" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="BUSINESS_GROUP" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="WORKGROUP" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="SUPERVISOR" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="LOCATION" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="true"/>
    </payload>
    <bpelEventListener>false</bpelEventListener>
    </workflowConfiguration>
    </taskDefinition>
    Edited by: rsuchoza on Apr 3, 2009 2:58 PM

    Hi
    Try to make the <messageAttribute name="ASSIGNMENT" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    to
    <messageAttribute name="ASSIGNMENT" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="true"/>

  • Update Human Task Payload

    I need to update a Human Task Payload from another BPEL Proccess. I tried using TaskService and I can set Outcome and Release the task but I cannot update the Task Payload.
    I'm doing this using a JSP client and works well but I need to do that through a SOAP Service
    Somebody can help me?
    Thanks,
    GGG

    Create your own variable-set and copy the outcome from the task to this variables with an assign-activity.
    You can now modify them as you need.

  • Is it possible to update the human task payload without using worklist API but only using advance routing rule.

    Hi,
    I have one human tasks in BPEL process in which i am using different stages and with using advance routing rules i am routing my task payload to one stage to another.My payload has Task Status and Branch,after approving the human task from first stage I want to send modified value of the Task Status to the next stage without using worklist API or manual updation but only using the advance routing rules,is it possible ??? If anyone have any idea about this than please enlight me with your valuable solutions and  advices...
    Thanx
    Regards
    Ajral

    Hi SamGoe,
    According to your description, my understanding is that you want to update the PoerPoint slide from SharePoint 2010 slide library automatically.
    It seems to be not necessary to use Macros. SharePoint provides an OOB way to notify you to check for update to the slide library slides when you open the presentation. PowerPoint does this because you selected the option
    Tell me when this slide changes when you copied the slides from the library.
    More information, please refer to the link below:
    http://office.microsoft.com/en-us/powerpoint-help/sharepoint-slide-libraries-ii-use-slides-in-the-library-RZ010254089.aspx?section=6
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to Update HUMAN TASK Payload SOA/BPM 11G

    Hi ,
    I need to update the Expiration time based on the escalation level for Human task .
    I trying to update the TaskExpiration time on the Java call back when onAssign activity is triggered.
    Even though the execution is successful the task will not be updated with new expiration time..
    Below is  the code snippet
    public class CallBackClass implements IRoutingSlipCallback , IDynamicTaskEscalationPattern {
        public CallBackClass() {
            super();
        public void onTaskAssigned(Task task, String string, String string1,String string2) {
            System.out.println("routing Slip: inside onTaskAssigned");
            System.out.println("Priority :" + task.getPriority());
            task.setPriority(1);
            System.out.println("TaskID :" + task.getSystemAttributes().getTaskId());
            task.setPriority(1);
            System.out.println("Updated Priority :" + task.getPriority());
            getTaskEscalationUser(task);
            System.out.println("Executed getTaskEscalationUser");   
           WorkflowUtil.getRoutingSlip(task.getSystemAttributes().getTaskId()).getGlobalConfiguration().getExpirationDuration().setDuration("PT3M");
    Please update your suggestion or suggest some API which van help me in fixing this task.
    Thanks in advance !!

    Hi:
    Take a look at this post: http://beatechnologies.wordpress.com/2011/08/24/
    Also here is the Oracle Doc: http://docs.oracle.com/cd/E12839_01/apirefs.1111/e10660/oracle/bpel/services/workflow/query/ITaskQueryService.html
    and:
    http://docs.oracle.com/cd/E17904_01/integration.1111/e10224/bp_worklistcust.htm#BHAHBHID
    Hope this helps.
    best
    rolando

  • 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

  • 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

Maybe you are looking for

  • Hyperlinks in Pages 5.0

    I am creating a document with a number of hyperlinks in it. The document is several pages long and each page has hyperlinks in them. The document is then exported to PDF as that is the format where it will be used. On the first page there is no issue

  • Order type in MTO  cycle

    I am using planning strategy 41 for a FG. I have created an  order type ZA01. this order type works for MTS cycle, whereas for a MTO, i am getting order type as PP01. i want to change it to ZA01. pl any suggestions

  • Fingeprint reader not working

    Hello I just recieved my two thinkpad t420s. When I turn off both laptops one of the t420 fingerprint reader lights stays on. But the other one does not do so. Although I have enabled both in the thinkvantage fingerprint that I have to use the finger

  • Fluctuating sound/volume level?

    I noticed that when playing music in iTunes the volume level somehow fluctuates. Suddenly the music is noticable louder than before. The problem is, it's not really reproducable (it doesn't happen that often but, erm, often enough to bug me). I don't

  • What happens after unchecking 'Keep iTunes Music folder organized'?

    After unchecking the 'Keep iTunes Music folder organized' option, am I right in thinking that future additions to the library are simply linked from their default location? If so, what happens when ripping CDs, and how is it possible to rename or mov