1
0
-1

We are using the soap tool for one of activity where we have requirement that if SOAP tool response is success then move to next activity otherwise previous activity.

Please provide steps or sample app to achieve the above mentioned requirement if any one have.


Regards, 

Azhar

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      You will need to interpret the result of the soap response first. Then based on it, you will then make a decision on whether to complete an assignment.

      You will need to then call https://github.com/jogetworkflow/jw-community/blob/8.0-SNAPSHOT/wflow-wfengine/src/main/java/org/joget/workflow/model/service/WorkflowManager.java#L86

      See sample at Bean Shell Programming Guide#UseasProcessToolUseasProcessTool

      1. Azhar Hussain

        Thanks Bastiana for your reply.

        I have added one more activity and in that activity form added one field (Workflow variable) which is storing the SOAP response status and based on this status field next activity will be assigned.

        the issue SOAP response status is not storing on next activity form post to the SOAP tool however i can see that the response is stored in the tables and also displayed in the viewed only form.

        Please support if you can that why the response of SOAP tool is not displaying in next activity form.

        Regards, 

        Azhar

      CommentAdd your comment...