Multiple Approval issue ?

Confluence User - 19 Aug, 2016

Hi,

I have downloaded the example app of 

Multiple Approval.

when one approve, there are errors message in joget log :

Shark - Activity[Process Id=337_multiApproval_apply, Id=1122_337_multiApproval_apply_waitingForResponse, ba=null, ActDefId=waitingForResponse] - failed to set the activity result
ERROR 19 août 2016 10:21:35 org.joget.workflow.model.service.WorkflowManagerImpl - java.lang.Exception: Activity [Process Id=337_multiApproval_apply, Id=1122_337_multiApproval_apply_waitingForResponse, ba=null, ActDefId=waitingForResponse] - can't set context map which is null
java.lang.Exception: Activity [Process Id=337_multiApproval_apply, Id=1122_337_multiApproval_apply_waitingForResponse, ba=null, ActDefId=waitingForResponse] - can't set context map which is null

 

Is it normal ?

 

However, The example works as attended.

Thanks.

apps

4


22 Aug, 2016
confluenceUser
confluenceUser

hello, 

you can try design flow with subflow. this is process can be multi approval.

I hope this helps

thanks

28 Sep, 2016
confluenceUser
1
confluenceUser

In data update tool in approve process change 


workflowManager.assignmentComplete(actId,null); 

to 

workflowManager.assignmentComplete(actId);

 

According to github repository https://github.com/jogetworkflow/jogetworkflow/blob/a37fadbb3aed971584c593c1b140d6c1ec9a03a3/wflow-wfengine/src/main/java/org/joget/workflow/model/service/WorkflowManager.java it accepts 1 parameter only.

28 Sep, 2016
confluenceUser
confluenceUser

Hello Michal, 

Your suggestion works fine.

Thank you.

Best regards.

Taxaw

15 Nov, 2016
confluenceUser
confluenceUser

Could you please explain to me how to do that?

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print