This content has been marked as final.
Show 3 replies
-
1. Re: Variable Controler
antitrust1982 Sep 27, 2006 10:23 AM (in response to antitrust1982)How can use VariableContainer? because I can't instantiate it? Somebody can help me to understand how use the varaible of jbpm please?
thank you for your help
antitrust1982 -
2. Re: Variable Controler
jits_1998 Sep 28, 2006 4:48 AM (in response to antitrust1982)TaskVariablesDbTest in the src code test cases explains how to put data in your task instances.
-
3. Re: Variable Controler
antitrust1982 Sep 29, 2006 7:58 AM (in response to antitrust1982)I have tried to understand how put my value in the variables, but seems to don't work.
I have done this:contextInstance.createVariable(var.getVariableName(),Nom,token); contextInstance.setVariable(var.getVariableName(),Nom);
Perhaps somebody have ever set his variables and can help me to understand how can put my value in the variables.
I give you a peice of my xml process definition in order to see you which value I want to set:<task-node name='renseignementclient'> <task swimlane='FONCIA'> <controller> <variable name='Nom' /> <variable name='Prénom' /> <variable name='Adresse'/> <variable name='ville'/>" <variable name='codepostal'/> <variable name='NumTel'/> <variable name='etablissementScolaire'/> </controller> </task> <transition name='valide' to='Validation'> </transition> </task-node>
Thank you in advance for your help
antitrust1982