|
|
|
xForm after 2 xForms of a decision node 8 Months ago
|
Karma: 0
|
|
Hi all,
I have created a process that has a decision node (Yes/No). On each answer I have created an xForm. After merginf the decision node I want (despite of the answer) to view a new form. However, the problem is that I dont know what to put on the previoustaskID mapping. Because in my case I have two previous xForms that one of them will be executed each time.
Can you help please?
Thanks...
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:xForm after 2 xForms of a decision node 8 Months ago
|
Karma: 32
|
|
Create a global variable, and assign it the value of the form id. Then assign the previousTaskID with the value of the variable. To create a variable, use the popup toolbar assistant, choose the $ dataobject shape. Make sure you initialize it by default and set its type as xs:string.
Thanks,
Antoine
|
|
|
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:xForm after 2 xForms of a decision node 8 Months ago
|
Karma: 0
|
|
Hi Antoine!!
Thanks for the answer!! It was really helpful. At the begining I had problems because I was trying to assign the ID value of the form to the global variable on the task that was the response of the form. I finally figured that I had to create a new task to assign the form ID value to the global variable.
One further question though... What will happen if I have two parallel forms?? How can I handle such case??
Thank you very much,
ilias
|
|
|
|
|
|
|
Last Edit: 2008/11/05 10:33 By ilias.
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:xForm after 2 xForms of a decision node 8 Months ago
|
Karma: 32
|
|
Cool.
Not sure I understand your new question. Do you have two parallel previous forms, or two parallel next forms ? (are you afraid it's going to set the ID twice, or that the same previous id is going to be used in two forms ?)
Thanks,
Antoine
|
|
|
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:xForm after 2 xForms of a decision node 8 Months ago
|
Karma: 0
|
|
The problem was that the same previous ID is going to be used in two forms. Until now I couldn't see that all the parallel forms were on the user's task list.
Sorry for that and thanks a lot for your answer!
ilias
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|