JBoss Community

Result Mapping for ServiceTask in CustomWorkItemEditor

created by sebb in jBPM - View the full discussion

Since I try to make the creation of processes as easy as possible I'd like to make a default result mapping in my CustomWorkItemEditor. I know how to do the parameter mapping, but not how to map the results. I think of a default result and error object (resp. variable in my proces). So that I can map every response from my ServiceTask either to the result variable or to the error variable if the response is an exception.

 

Is this possible? Currenty I dont know how to access the result mapping of the process inside of the CustomWorkItemEditor, becaues WorkImpl does only allow access to the parameters.

Reply to this message by going to Community

Start a new discussion in jBPM at Community