I have two task and each task having embedded html forms . I need to get 1st task form variable i.e cam-variable-name as value of 2nd task form field.
if i am giving same cam-variable-name to 2nd form also the value is show in UI but its input field value is still null.
how to do that . please help me
Hi,
Just to make sure I understand the problem correctly:
- you use the same variable (let’s call it
variableA
) in 2 forms
- in the second form, the input of the fist form is displayed as a placeholder
- The
value
property of the field is null
Is that correct?
If you use cam-form directives, you can use the Variable manager as described here: https://docs.camunda.org/manual/latest/reference/embedded-forms/javascript/lifecycle/