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
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
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.
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.
Just try the new widget. Great! Now I will study how it works to learn more. Thank you.
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.