Generate Cam Variable Name dynamically on Embedded Forms

Hi,
I have two user task assigned to two different candidate groups but the form used by the two tasks is same. Now if I complete one task with some values in the form. Than these values will reflect on other task form. May be it is due to the same cam-variable-name. Is their any way to assign cam-variable-name dynamically.

Thanks,
Ankur

Hi Ankur,

when you have an input field with a cam-variable-name directive, the Tasklist will try to fetch the process variable with this name. If it exists, the value is displayed in the input field. If you do not want this, you could use Javascript instead of the cam-variable-name directive to load and/or submit the variables.

See the documentation for some information about how to fetch and submit variables using Javascript.

Does this help you?

Cheers
Sebastian

1 Like