Use process variable in the External URL of a form

1
0
-1

Hi,

Is it possible to use process variables in the External URL related to the form of a Human Task ?
In Bonita Studio 7.1, the External URL is defined from the Execution Tab > Form > External URL radio.

Thank You

1 answer

1
0
-1

Comments

Submitted by nfeghali on Tue, 09/29/2015 - 08:50

Thank you for your reply, but in the 2 provided links above, the solution is how to access process variable using the REST API ( .../API/bpm/... ) .

What we need is how to pass process variables into the External URL defined at the level of the Form of the human task (from the Bonita Studio, select a human task, open the Execution tab, open the Form menu, select the External URL radio button, define the external url).

What we pretend to do is something like :
Form External URL = http://address:port/MyExtenalWebApplication?screenParameter=${processVariable}

Is it possible?
Thank you

Submitted by antoine.mottier on Thu, 10/01/2015 - 17:57

Actually the form external URL will be: http://address:port/MyExtenalWebApplication?id=

In your external web application, you will be able to get the id parameter value from the query string and then run some API call to get step and process information.

An example is available about how to access process variable using step id. Note that it is recommended to use business variables instead of process variables.

Passing extra parameters to redirect URL is only possible in Subscription edition of Bonita BPM.

Notifications