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

Similar Messages

  • Dynamic Submit Button- Required Fields

    I needed a dynamic submit button that would cc a field from the form.  I found the following script and it works great, but it doesn't give an error message if someone didn't fill in a required field like a regular submit button would. Is it possible to use the script below but to check for required fields?
    // This is the form return e-mail. Its hardcoded
    // so that the form is always returned to the same address
    // Change address on your form
    var cToAddr = "[email protected]";
    // First, get the client CC e-mail address
    var cCCAddr = RegionalDirector;
    // Set the subject and body text for the e-mail message
    var cSubLine = "909 Camp Visitation Report-" + xfa.resolveNode("#subform[0].#subform[7].Country"); var cBody = "Thank you for submitting your 909 report.\n" + "Save a copy for your records";
    // Send the form data as an FDF attachment on an e-mail
    event.target.mailDoc({
              bUI: true,
              cTo: cToAddr,
              cCc: cCCAddr,
              cSubject: cSubLine,
              cMsg: cBody

    Hi,
    stefan's example uses a method that seems a bit clumsy or maybe that was the only way it could be done in 2006.  Assuming your email button is called EmailSubmitButton yo can use;
    EmailSubmitButton.event__click.submit.target = emailtarget;
    where emailtarget is a string in this format
    mailto:emailaddress?cc=emailaddress?bcc=emailaddress?subjext=text?body=text
    The bold parts you can't change but you can leave out, except for the mailto and the to email address that follows it.
    Regards
    Bruce

  • Overriding Human Task adding Attachments functionality

    Hi,
    I am a newbie in Oracle BPM and I'm facing a problem with overriding default funcionality connected with Attachments. I want to add my own code to insert attachment to my table when users upload Attachment. Could anybody give me any advice how to achieve this? I discovered that, when I generated ADF form from Human Task in popup I have Button Update with Value
    #{addAttachmentBean.file}. I'm wondering can I just write my own method with insert statement to table and then call {#addAttachmentBean.file} but I don't know how to reference from my Bean to addAttachmentBean. I would be very grateful for any help!
    Regards

    Ok, I could achieve my functionality using triiggers: Insert - add row to my table; Delete-delete from my table but my tables are in another schema so I prefer to do this by Java Code.
    I have also to modify upload subfolder, which is based on year/month/day date.
    Edited by: 914128 on 2012-03-05 13:31

  • Human Task Soa Custom escalation

    Hi ,(Human Task SOA suite)
    We have a requirement where we have to determine how many times the task has been escalated.
    Can anybody please tell how to determine the counter for task escalation.
    Based on this escalation count we have to set the task expiration time.
    Please help

    OK, I've realised that the date format is the standard XML schema dateTime (http://www.w3.org/TR/xmlschema-2/#dateTime).
    After a bit of searching around, I discovered the XMLGregorianCalendar class (http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/datatype/XMLGregorianCalendar.html) which could be used in a function like so:
    import java.util.Date;
    import java.util.GregorianCalendar;
    import javax.xml.datatype.DatatypeFactory;
    import javax.xml.datatype.DatatypeConfigurationException;
    import javax.xml.datatype.XMLGregorianCalendar;
    Date parseXsdDate(String xsdDateString) {
        if (xsdDateString == null || xsdDateString.trim().length() == 0) {
            return null;
        DatatypeFactory factory;
        try {
            factory = DatatypeFactory.newInstance();
        } catch (DatatypeConfigurationException e) {
            throw new IllegalStateException(e);
        XMLGregorianCalendar xmlCal = factory.newXMLGregorianCalendar(xsdDateString);
        GregorianCalendar cal = xmlCal.toGregorianCalendar();
        return cal.getTime();
    }Hopefully this is useful for someone. I had been parsing the date strings with a Pattern before, which was not ideal.

  • Apply my own formula when user presses sum button in a report

    Hi all,
    I have this requirement that when user presses SUM button for a particular field in a report instead of Summing it up and displaying I can apply my own formula and display its value. 
    For Ex :  When we press sum button for field efficiency :
    EFFICIENCY
    10
    11
    05
    26 - It would sum it up and display 26 , where as i don't want it to display 26 i want to apply a separate formula and display that value

    Suggest to add another custom button to the ALV toolbar and write the desired logic you want.
    Also to avoid confusion, disable the standard summation button. (you can add the same icon for the custom button if you wish)
    Thanks,

  • 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 string payload size restriction

    We are developing a BPEL process with a Human Task component for an operational support app. The idea is whenever a message fails in the service bus due to transformation or validation error, we need to send that payload to this bpel process , which will create a human task and an operational support personnel ( both business & technical) will fix the payload via bpm worklist app and then bpel can resubmit the message to the service bus.
    In this app, we are trying to send the failed message as a string payload to the task . Most of the payloads are of csv and fixed length type and we can't wrap it in xml , because the business users who might be acting on fixing this payload are not XML familiar. And the payload sizes vary from 1 kb -4 MB
    When testing this , we have hit the below error during task initiation , which I think says string payloads should n't be more than 2000 bytes in size
    Caused by: java.sql.SQLException: ORA-12899: value too large for column "DEV1164_SOAINFRA"."WFMESSAGEATTRIBUTE"."STRINGVALUE" (actual: 2183, maximum: 2000)
    In this context, can you suggest what possible options I have. One option I can think of is wrapping the payload in XML instead of string, which is not so liked here..
    TIA,
    Atheek

    We solved this by transforming the XML when entering a human task. The transformation removed any attributes in the payload. This solved the issue.
    <?xml version="1.0" encoding="windows-1252" ?>
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="node()|@*">
    <xsl:copy>
    <xsl:apply-templates select="node()"/>
    </xsl:copy>
    </xsl:template>
    </xsl:stylesheet>

  • How to fix problem of bypassing the submit button validation by pressing the space bar in the required fields. this occurrs in the internet explorer and chrome browser, but in foxfire.

    How to fix problem of bypassing the submit button validation by pressing the space bar in the required fields. This occurs in the internet explorer and chrome browse but not in foxfire

    How to fix problem of bypassing the submit button validation by pressing the space bar in the required fields. This occurs in the internet explorer and chrome browse but not in foxfire

  • 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"/>

  • Hello , I want ask you, how can I refuse purchase application, Hello , I want ask you, how can I refuse purchase application Lingvo Dictionaries , ID:MHQTYLHNGH, I accidentally pressed the button to buy and went to boot without requiring a password

    Hello , I want ask you, how can I refuse purchase application, Hello , I want ask you, how can I refuse purchase application Lingvo Dictionaries , ID:MHQTYLHNGH, I accidentally pressed the button to buy and went to boot without requiring a password, Help me please.

    Contact Apple iTunes support: http://www.apple.com/support/itunes/contact/

  • Human Task - Custom buttons outcomes doesn't visible

    Hello,
    I made a simple human task with custom outcomes (Aprovar and Reprovar) in portuguese - brazil. It's equals Approve and Reprove.
    But my 2 buttons doesn't visible.
    <af:commandToolbarButton actionListener="#{invokeActionBean.setOperation}"
    text="#{wf:getResourceValue('Aprovar', 'bindings.customActions')}"
    disabled="#{!bindings.Aprovar.enabled}"
    action="#{invokeActionBean.invokeOperation}"
    partialSubmit="false"
    *visible="#{wf:isCustomActionAvailable('Aprovar', 'bindings.customActions')}"*
    id="ctb1">
    <f:attribute name="DC_OPERATION_BINDING"
    value="bindings.Aprovar"/>
    </af:commandToolbarButton>
    What's errors could happening ?
    Thanks.

    I found a solution.
    In the task file (xml), there is a parameter called <enableAutoClaim>true</enableAutoClaim>
    Could anyone explain me why this works ?
    This is a bug ?
    http://webcache.googleusercontent.com/search?q=cache:BSLT61xE8pcJ:download.oracle.com/docs/cd/E14571_01/doc.1111/e15176/human_task_bpmpd.htm+enableAutoClaim&cd=4&hl=en&ct=clnk&client=ubuntu
    In the link above, there is a citation "the enableAutoClaim is TRUE by default".
    But my buttons APPROVE and REJECT only is displayed when i explicitly set this parameter.
    Thanks

  • How to set all required components false in ADF form based on human task?

    Hi All,
    I'm looking to implement an ADF form based on a human task. There are 2 outputs, Validate and Reject.
    On clicking Validate, my form does as expected, evaluates everything that is mandatory and expects these inputs in order to proceed.
    However, on reject, my form should overlook anything that's marked as mandatory. How do I go about making the "required" aspects of my form false so that no entries are required in order for me to reject the form.
    JDev - 11g.
    Any inputs will be appreciated.
    Thanks,
    Preethi.

    Thank you Timo.
    This doesn't seem to bypass any of the mandatory components . It still prompts for an entry for those fields. do I need to change the partial submit or any other property?

  • How to open and navigate between human task forms in a same page?

    Hi
    I use Oracle BPM 11.1.1.5
    I have a question about taskflows in BPM Application.
    In ADF web application, I create a sipmle task flow and insert view id and bind these to jspx pages, my pages are opend in same page when
    return an outcome.
    For exapmle I have three pages like A,B,C.
    In task flow, insert three view ids and bind to A,B,C.
    My first pages is A, and when outcome is B navigate to B, when my outcome is C then navigate to C in a same page not separate pages.
    But my problem is here.. in BPM Application when create task forms, every task has a separate task flow that there exist a single view id and a wild card flow in it.
    In BPM workspace when initiate human task form is closed, I should press refresh button to see next human task form in task list table.
    I tried to create a simple task flow and insert human task forms in it and navigate between these.. but show human task form in wrong display and don`t show some component and human task payload.
    Now, my question : How to open and navigate between human task forms in a same page like software installation?

    Having a separate Data Control for each human task is normally the case. There is a way to assign multiple human tasks to a single data control (and one task flow), but I don't think that this is going to help you with what I think you're trying to do.
    If your human task is called "EmployeeDetail", then you'd use the data control associated with this for the UI pages in the task flow diagram that is associated with this human task. For example, you might have a first page that has just the basic employee information - the fields (at least the ID field) would come from the EmployeeDetail data control. When the end user clicks "Next", you might have this UI page flow to a second UI page in the task flow diagram that has the employee's address information. You might place the address fields from the EmployeeDetail data control onto this second UI page.
    You might be asking how the work item instance can automatically flow to the next interactive activity in the process while staying inside the first interactive activity's human task's task flow diagram. This is not how it works - the task flow diagram models the end user interaction while inside a single human task that is tied to a specific interactive activity in the process. If you want a the end user to be able to move the instance through multiple interactive activities in the process in one interaction, look at "Activity Guides". Activity Guides do a nice job of this.
    Dan

  • Human Task – Using expressions in task parameters

    Hi All,
    In my BPEL process I have a Human Task with about 15 task parameters. I'm trying to define BPEL variables to each and every parameter. I am able to select a type 'variable' variable (ie. /ns18:OutputParameters/ns18:street_name) from tree view and save.
    However, whenever I click on the little flash-light icon and create a type 'expression' using the XPath expression builder I'm having problems saving the change.
    In details this is what happens,
    0.) Double click on Human Task
    1.) Click on flash-light icon in front of a parameter.
    2.) Select Type expression variable.
    3.) Click XPath expression builder.
    4.) Select conversion function 'string()' and double click to add.
    5.) Double click on the required BPEL variable to add.
    6.) Something similar to the following expression is created,
    string(bpws:getVariableData('InvokeGetAllABCInformation_FetchABCInformationService_OutputVariable','OutputParameters','/ns18:OutputParameters/ns18:ACC_ID'))
    7.) Click OK twice and then Apply/OK to go back to BPEL diagram view.
    8.) Now at this point the BPEL is not saved and the tab-title is italic to show it’s unsaved.
    9.) Save the BPEL to disk.
    10.) Double click on the Human Task to show parameters and variables defined.
    11.) The previously defined expression type variable is still there.
    12.) However now if I click either 'Apply' of 'OK' buttons without making any changes the BPEL diagram tab-title becomes italic and when the BPEL is saved to the disk, it forgets about all the expression type variables that was previously defined. Also note that cancelling wouldn't change anything.
    This is a serious issue as I can't change any setting to a Human Task parameter list, as every time I make a change, I loose all the expression type variable declarations.
    Could this be a bug in JDeveloper?
    My JDeveloper Studio Edition Version is: 10.1.3.3.0.4157
    Any help on this would be greatly appreciated.
    Thanks.
    Shaminda.

    ok, looks like no one knows what's going on,
    Here's the workaround that I came up with, If anyone is interested.
    Create a custom XSD (schema) with required variables in it (to be used by expression types vars), and use a copy operation before the human task and create the expression types in there. Then use the schema to map the values to the human task.

  • How to Java methods after submition of human task

    I want to implement java callbacks after completion of human task.
    My Requirement is : I want to save the process object in my separate table once user has submitted the human task.
    Can any 1 give me the example on that.
    Edited by: 964010 on Jan 9, 2013 2:21 AM

    Hi
    See below post for one approach. Anytime a Task is Submitted (means completed by clicking any Action buttons like Submit, Approve, Reject etc etc), the outcome in the method mentioned below is like OUTCOME_UPDATE. First add some print statements here, then later add your custom code.
    Re: Assign role, group to Human Task when initiated
    Thanks
    Ravi Jegga

Maybe you are looking for