When using a button widget, interpolation is not working on redirect URL


If, for example, place a BUTTON in a form to go to a page of my application (enlace/miEnlace) and I want to pass a parameter (taskId) in "Target URL on success" I write: /bonita/apps/enlace/miEnlace?id=taskId.

The final URL is: http://localhost:8080/bonita/apps/enlace/miEnlace/?id=taskId



External Link





Philippe Ozil
November 13, 2015, 9:57 AM

Hi Sean and Javier,

Sean, I agree with you, we should ease navigation between tasks but unfortunately this is not yet done.

Javier, I tried your future contribution and it works. Great job

I just have one comment: to make the most out of it, you could try to include everything in just a custom widget.
Ideally we should not need to deploy an application with a custom page for this to work, it should be lighter.

What I recommend is a bit of tunning so that:

  • the custom widget looks like a submit button (you can take a look at the official button's code by accessing this URL: http://localhost:8080/designer/#/en/widget/pbButton)

  • when you click on it, it hides the current form (with a boolean variable and a hidden property on the form container)

  • it then displays the progress bar you have implemented (in the same page this time).

  • if it finds a new human task then the user is redirected to it


Javier Sánchez Etchegaray
November 13, 2015, 4:38 PM

Hi Philippe and Sean:

Thank you for the suggestion. I had not thought of using the page itself. I hope to spend some time this weekend.

Sean, with the Philipppe's suggestion it take a little longer to prepare that explanation I had planned to do this weekend. I think it is preferable to upload the widget with the suggestion included.

Philippe Ozil
November 19, 2015, 10:03 AM

Hi Javier,

Quick update on your use case.
It just happens by luck that one of my colleagues contributed a widget that does that:

I will let you try it out.


Javier Sánchez Etchegaray
November 20, 2015, 11:41 AM

Just try the new widget. Great! Now I will study how it works to learn more. Thank you.

Philippe Ozil
December 3, 2015, 4:57 PM

Hi Javier,

Just to let you know, the original issue related to the interpolation in the redirect link has been fixed as part of Bonita BPM 7.1.4.






Javier Sánchez Etchegaray

Affects versions



Fix versions