IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  [SOLVED] User Task Action doesn't assign value

    Posted Tue March 11, 2014 05:45 AM

    Hi everybody,

    I’ve got a user task set up in my project for the approval process of an enrollment. But when an enrollment is queued and I press the approve button, it doesn’t assign a value.

    In the image below you can see the configuration for the action.

    First it should assign ‘Y’ to the (string) field that indicates approval or denial and after that I complete the task. The task gets completed but the value doesn’t get assigned. I’ve done it the same way as described in my BPM Developer’s guide.

    Does anyone know why the value doesn’t get assigned?

    With kind regards and thanks in advance.
    Kevin


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 2.  RE: [SOLVED] User Task Action doesn't assign value

    Posted Tue April 01, 2014 11:29 AM

    The altered document was set under a Task Data document, after mapping this Task Data to my original document the changes were there.


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 3.  RE: [SOLVED] User Task Action doesn't assign value

    Posted Tue April 01, 2014 11:59 PM

    In the java code of this action, can you find the similar code below?

    
    resolveDataBinding(*ACTION_PROPERTY_BINDINGS, this, "*Action", true, false);

    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 4.  RE: [SOLVED] User Task Action doesn't assign value

    Posted Wed April 02, 2014 05:04 AM
    public String approve() {
    resolveDataBinding(APPROVE_PROPERTY_BINDINGS, this, "approve.this", true, false);
    return OUTCOME_OK;
    }

    This is the java code of the action


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 5.  RE: [SOLVED] User Task Action doesn't assign value

    Posted Thu April 03, 2014 03:27 AM

    Hi Kevin,

    I noticed that the subject changed to [SOLVED], is that true? How do you fix it?


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 6.  RE: [SOLVED] User Task Action doesn't assign value

    Posted Thu April 03, 2014 06:13 AM

    In the User Task in my process the changed value was mapped under a document called TaskData. So in the output of that Task, after clicking on the right ‘Edit Data Mapping’ on the inputs/outputs tab, I mapped the document under the TaskData document to the Document that I use in the pipeline. After that it worked.


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods