AnsweredAssumed Answered

Set WorkFlow "Required Approve Percent" in java

Question asked by jamilnour on May 24, 2017
Latest reply on May 30, 2017 by douglascrp

Hello,

 

Can anybody tell me how to set the "Required Approve Percent" variable in java when programmatically create a Workflow?

 

I can't find it in WorkflowModel. I only found the PROP_PERCENT_COMPLETE which is the percent complete and not the required percent.

 

In  link below the writer tells that, parameters.put(WorkflowModel.PROP_PERCENT_COMPLETE, 50) reflects the "Required Approve Percent = 50" which is not the case 

 

Alfresco · Starting workflow from Java | Programming and So 

 

In Javascript it is "wf:requiredApprovePercent" but what about java?

 

Thank you

Jamil

Outcomes