Hi ,
I am referring same html(embedded:deployment:form.html) within startEvent and userTask .Starting an event with all the values .But the input values are not auto populated within UserTask.
Please find my html and BPMN are here.
Hey Thanks alot , I am using ng-model as an attribute in input field , here in the example i could see you are using cam-variable-name=“Tweet” and binding that name in bpmn usertask (camunda:formField id=“Tweet”).
input type=“text” cam-variable-name=“Tweet”
input id=“key” class=“form-control” type=“text” ng-model=“Object.key” → If i use id to bind with usertask , I am not seeing data populated .
To be precise i want all the input fields populated during the start task , should be auto populated within usertask form and can be edited if needed , if user edits that should be reflected within json .
Hey , github code which you shared they are using two different forms for startevent and usertask .In my case there will be same form data for both start event and usertasks which should be reviewed and edited by the reviewer if needed to.
In starttevent form i am creating a json and i m referring same html in usertasks , though the data is populated when starting a process ,in usertask form fields are empty …
The solution which is shared has two forms .
In my scenario too if i create two forms one for start event which creates json variable and other form to refer in usertask its working fine .That means though data and fields are same for both start and usertasks shall i have to create form for each task and read that as referred in the code which you shared??
Within same html can i hide/show few elements ,for particular usertasks??
And any of the user reviews and changes the form values it should be reflected within json .Will that be possible with taskID filtering??