cancel
Showing results for 
Search instead for 
Did you mean: 

Usertask needs the data from another usertask - getting data

udoderk
Champ in-the-making
Champ in-the-making
Hi all,

Is it possible to  get the data from user task 1 for another user task 2?

An Business Process have a lot of process tasks. Some tasks are the user tasks   ( i.g. that have theinput GUI mask a-ka form😞 USER TASK1, USER TASK2,….USER TASKn. An human employee entries the given data on the fields of USER TASK1.

Is it possible, to use that data in that business process in same run later?

For example - it is possible to use that data in USER TASK2 or USER TASKn?

What API should be used?

Thanks
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
You can use process-variables for this. Take a look at the runtimeService' setVariable… methods: http://activiti.org/javadocs/index.html

Take a look in the user guide on how to use variables in your process (gateways, task-forms, …)