Hi,
We have a requirement where we are supposed to set the process variable of a workflow through a java method in an auto activity while the workflow is running.
Currently while running the java method, the variable values are set as per the sys out statements, but the process variable values are Null when we see the next activity in taskspace. We want to use this process variable value for deciding the transition to next activity.
Have used the following to set the variable value:
IDfWorkflowEx wf = (IDfWorkflowEx)session.getObject(wrkFlowId);
wf.setPrimitiveObjectValue("process_var_name","value");
Kindly provide any pointers or suggestions to resolve the issue.
Thanks and Regards,
Prerna Jain