I have a user review task (which is parallel and Multi-instance type), which has custom form in Activiti with custom outcomes (Approve and Reject)... once the task gets completed, I want to know the form variable into which the task outcome is stored... I believe it is one of the task variables.... I want to access it in a Java Task Listener on task complete... please guide...
In Alfresco 5.2 I use the following:
public void notify(DelegateTask task)
{
String outcome = (String)task.getVariableLocal("outcome_property_name");
. . .
}
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.