I'm new to Alfresco and having decided to jump in at the deep end I have just created my first Activiti workflow *YAY*… and sorry if this is a dopey question, but…
I want to know how to set a process variable from Java that will be available for display and update in my workflow.
I have a number of tasks in my workflow and as various users complete tasks data is captured and displayed again in subsequent tasks. I also have an action that automatically starts my workflow and I want to set some variables in this action class as well.
I think, from reading various stuff on the interweb, that I should be using process variables to pass data between tasks in the workflow. What I can't see is how I can set an Activiti process variable from Java. In jBPM there appears to be something called executionContext which can be used but I cant see an equivalent for Activiti.
Any assistance would be welcome.
I'm using Alfresco 4.0.d on 64bit Windows 2008 R2.