Custom Confirmation Message after Connector execution

1
0
-1

Hi, I'm working with Bonita BPM 6.2.5 and trying to create a custom confirmation message for a form based on the execution of a Connector in a following step.

This is the environment: I have one human task that contains a form for the user. After the user has submitted a form another task executes automatically with a connector attached. I want to show the user a confirmation message created in the connector that depends if the execution completed correctly or with errors.

I have tried creating a new process data instance, updating it in the connector and show it in the confirmation message (with Groovy) by waiting until the connector has changed the value of the data instance to return it but unfortunately even that the connector successfully updates the data instance value (as seen in DB), the Groovy script never obtains this value, instead it keeps printing the initial one.

Is there a way to force groovy to obtain the newest value for a global variable or do you suggest another way to accomplish this?

Thank you very much for any help and commentary you can provide.

Comments

Submitted by ttoine on Thu, 06/12/2014 - 11:20

Did you have a look at this project:
http://community.bonitasoft.com/project/automatic-confirmation-template

In the latest release this is possible to display the next available steps. I am pretty sure you can use that as a base to display what you want.

No answers yet.
Notifications