-
1. Re: How to Add Controller's variable in event's action?
jits_1998 Sep 12, 2006 5:03 AM (in response to jinguo.yin)TaskController maintains an arraylist of variable access, modifying this list will let u add/remove the variables in the task controller.
TaskController.setVariableAccesses(List<VariableAccess> variableAccesses)
hope it helps..
cheers! -
2. Re: How to Add Controller's variable in event's action?
jinguo.yin Sep 12, 2006 5:20 AM (in response to jinguo.yin)Thanks your reply.But which Event's Action execution this statement?
I can set variable using TaskControllerHandler.but when TaskControllerHandler executing(initializeTaskVariables), the actorId is NOT set; -
3. Re: How to Add Controller's variable in event's action?
jits_1998 Sep 12, 2006 5:44 AM (in response to jinguo.yin)Ah oh!
An overlook on my part.
We cannot add controller to the event driven tasks. Controller is only allowed in task-nodes.
Try on saving in the context instance from the executionContext, you can use some kind of naming convention like ,username>-<node-name>-<variable name> to keep track of the user name.
hope this one helps...
cheers! -
4. Re: How to Add Controller's variable in event's action?
jinguo.yin Sep 12, 2006 6:35 AM (in response to jinguo.yin)Thanks very much;
I implement my goal using your method in assignment class!
BTW:
I add Controller's variable because of vary person can display different Variable!
Thanks your help!