bpmn2user [http://community.jboss.org/people/bpmn2user] created the discussion

"What is the best option to pass multiple parameters between user task nodes?"

To view the discussion, visit: http://community.jboss.org/message/585748#585748

--------------------------------------------------------------
I amĀ  particularly interested in knowing the best option we have while sharing 
the user variables between various ftl template files.

Here is a sample scenario:

There are a few users that work on a common data. After a user looks at a 'ftl' 
form and modifies the content, this data needs to be available for the next 
user.


This can be done as follows:

1) Have a script node before each human task and populate a Map of all the 
required variables. This Map can then be mapped to Content and the variables 
can be accessed in each ftl template. 

2.) After these variables are modified in a 'ftl' form, these variables can be 
passed using 'Result Mapping' option. Here the individual output variables are 
transferred using 'Result Mapping', i.e., not as a Map.

3.) We then need to construct a Map again from the output variables from the 
previous task node and send as a Content parameter so that they can be accessed 
in the new user 'ftl' form.

Is there any better option available (rather than converting variables to Map, 
before and after each user task node) while sharing the user variable data?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/585748#585748]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to