Get ProcessVariable value to an external form and then bring form input back to a HumanTask.

1
+1
-1

I want to link my HumanTask1 to an external form and then upon form submission want to bring form values back to HumanTask2. How can I do that in version7.x?? I have found some doumentation in the previous versions, but that isnt helping much.

Can anybody plz help me with a small working example?

Comments

Submitted by Lionel Palacin on Tue, 08/16/2016 - 17:59

Hi,

I'm not sure to understand exactly what you're trying to achieve. But it doesn't sound too different than working with Bonita forms. Basically, when you submit HumanTask1, you have to pass the variables as defined in the contract. Those variables can be stored either in the BDM or as process variables. Either way, you can access the BDM or the process variables from the form linked to the HumanTask2.

Cheers

Submitted by aliya.arshad on Wed, 08/17/2016 - 07:11

I understand that. But I want to use my own forms hosted on a web server.
Can't really figure out the API/libraries in the latest bonita version to use for this. I've seen that this cannot be done through a UI as for bonita forms. Can you guide me with a sample snippet of code to do this?

I have process and business variables in my BDM just wanna know 1- how to pass them to the form (along with the process context) and then 2- what code to write on form submission that can bring form inputs back to the next task (under same process context).

Submitted by aliya.arshad on Wed, 08/17/2016 - 07:12

I understand that. But I want to use my own forms hosted on a web server.
Can't really figure out the API/libraries in the latest bonita version to use for this. I've seen that this cannot be done through a UI as for bonita forms. Can you guide me with a sample snippet of code to do this?

I have process and business variables in my BDM just wanna know 1- how to pass them to the form (along with the process context) and then 2- what code to write on form submission that can bring form inputs back to the next task (under same process context).

No answers yet.
Notifications