Same variable in different embedded forms

I have multiple tasks that take the same logical input variable. For example “leadFirstName”.

In my start form, I have made this.

 <div class="form-group">
        <label class="control-label">First Name</label>
        <div class="controls">
            <input type="text"
                   cam-variable-name="leadFirstName"
                   cam-variable-type="String"
                   name="leadFirstName"
                   class="form-control"/>
        </div>
    </div>

Some where later in the process I again take this same variable as input for some other user task. ON this 2nd task I see an error in Task List screen “Form Failure: Cannot add variable with name leadFirstName: already exists.”

I basically want to capture the value for the same variable name in different tasks. Is there any “cam-variable-***” way of doing it. All my forms are embedded forms.

Please help!

Hi @subhrajyotim ,

Could you please upload your html task form…