cancel
Showing results for 
Search instead for 
Did you mean: 

passing input parameters to subprocess

rashmis
Champ in-the-making
Champ in-the-making
hi,
I want to read a string as input from console in the InputName service task (pointing to a pojo)and pass the input string to the subprocess 'PrintName'. The PrintName subprocess has a Service task associated with a pojo which will simply print something like ( "Hello "+name ) on the console.  How can i acheive this ?

[attachment=0]inputprint.JPG[/attachment]
2 REPLIES 2

tombaeyens
Champ in-the-making
Champ in-the-making
you can do this if you use a userTask for the inputName activity and associate a form with it (see userguide on how to do it).  with the form you can get data from a user in a form and then stick it in a process variable.

and for the print name you can use a serviceTask and link your own java code to pring the variable.

rashmis
Champ in-the-making
Champ in-the-making
I read through the Forms topic in User guide. Are there any examples which depict the external rendering of forms ? Examples depicting this with programmatic external rendering  style will be helpful (not from ui/modeler).