-
1. Re: taskform button action
whabelitz Aug 11, 2011 9:21 AM (in response to desunil)Hi Sunil,
I would provide a radio button group "follow up action", where only one entry can be selected. On task exit map the value behind this group to a variable of the process and then check the process variable inside the decision node.
Regards
-
2. Re: taskform button action
desunil Aug 12, 2011 1:28 AM (in response to whabelitz)thanks for replying, is there no way of catching button action... in our app we should not use radio button
-
3. Re: taskform button action
tsurdilovic Aug 13, 2011 11:26 AM (in response to desunil)Your taskform can contain html as well as javascript, so sure you could for example have each one of your buttons have an onSubmit which calls different javascript functions that for example set a hidden variable value then return true so the form is submitted. The hidden variable would be mapped to data output of your task, and then as whabelitz mentioned you would need to map that out to a process variable for later use.
-
4. Re: taskform button action
roxy1987 Sep 26, 2011 4:19 AM (in response to desunil)Hi Sunil,
You can have same "name" for each button and obviously the value of each button is different. So in your servlet you can get the value of the parameter "name" and match it with the given values.
regards.
-
5. Re: taskform button action
roxy1987 Sep 26, 2011 4:21 AM (in response to roxy1987)And as far as the transition selection is concerned, the decision node expression variable can be set to the transition name(transition name is available once the value of the button pressed is known).