How do we complete workflow activity automatically based on the soap tool response staus

Confluence User - 26 Apr, 2023

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

workflow

2


28 Apr, 2023
confluenceUser
confluenceUser

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

30 Apr, 2023
confluenceUser
confluenceUser

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

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print