My process have a simple business object / variable. I have created a simple script that returns the new instance with the default values for the mandatory fields.
I have created an instantiation form with a simple text field, according to the contract defined for the instantiation step (object.attribute), but the value is never passed to the business variable. It’s like the variables is instantiated AFTER the form as been invoked and submitted.
If I take a loot at the database, I see the default data returned in my script.
This problem doesn’t happen in other steps of the process. I assume it’s because the operations assignations happen at the right time, after data from the form has been returned. But the instantiation form doesn’t have this item.
What can I do to pass data from the instantiation form to the business variable?
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.