For setting variables ContextInstance is required. ContextInstance maintains all the key-value pairs for a process instance.
ContextInstance contextInstance = processInstance.getContextInstance ();
contextInstance.setVariable (“Variable Name”, “Value”);
No comments:
Post a Comment