I am using jbpm 5.4. I am starting the workflow from my web application. I have successfully passed the parameters from the web application to the workflow.
My workflow is like this.
Start--->Script task-->Email task--->Stop.
I have a parameter in the workflow named output. initially i am passing parameter with value "pending". In the script task i am setting the value of output as "Approved". I am not using any user task in this workflow.
when the workflow completes it'll return the WorkflowHandler class. I need the value of output as "Approved" there in the WorkflowHandler class (Modified in the script task). How can i do this. is this possible without user task.