cancel
Showing results for 
Search instead for 
Did you mean: 

Access to a workflow variable inside a bean

cgonzalez
Champ on-the-rise
Champ on-the-rise
HI,

I need to have access inside my dialog bean to a workflow variable. I have to extend the org.alfresco.web.bean.workflow.ManageTaskDialog Bean and inside this class i need to access the variable wf_reviewContent.

How can i do that?
5 REPLIES 5

poptarts
Champ in-the-making
Champ in-the-making
Good question - I would like to see this answered as well.

Thanks to anyone that can help.

cgonzalez
Champ on-the-rise
Champ on-the-rise
Hi,

I have used a TaskControllerHandler to past the workflows variables to the bean (initializeTaskVariables) and the task variables to the workflow (submitTaskVariables).

Hope it helps.

poptarts
Champ in-the-making
Champ in-the-making
Ah, I see. Thanks a lot for your comment.

birgir
Champ in-the-making
Champ in-the-making
Sorry but what does that mean. Did you call you TaskControllerHandler in every workflow task (i.e defined as an action in the processdefinition) and update the variables there ?

cgonzalez
Champ on-the-rise
Champ on-the-rise
Hi birgir, 

I define a controller  in any task that i need it, just one in my case, and update the varibales there.