Transitions via Engine API
Hi,
I need to get de value of transitions that was in the conditions of the gateways via Engine Api. After doing a search i found the methods getOutgoingTransitions() and getIncommingTransitions() in Engine API. Can someone help me to use this methods?
Regards,
Diana
Hi Diana,
Here you have a working example.
I created a new BDM object Referencial Data to keep different list of static values
A process to populate it with some static lists (it can be evolved to handle CRUD)
Another example process using this list and the value to be sent to the process that then it is used to take the decision.
I hope it helps
Diana,
The condition you can have in those paths can be quite complex to be processed and shown in a form.
What you want to is to provide a list of options ["Paid","Not Paid",.. ]to the user and he will send the decision when executing the task. The list can be hardcoded or retrieved from BDM, or an External DB for example...
Cheers
Comments
Hi Diana,
Looks not a normal use case...
Can you explain me why you want that ? what are you looking for?
Thanks
Hi Pablo,
I need that values via engine api to fill a dropdown in my own forms. For example: Gateway Exclusive, with in one path condition decision=="Paid" and in other path decision=="Not Paid". In my dropdown i want that apear "Paid" and "Not Paid". P.S. "decision" was a process variable. Doesn't make sense to you?
Thanks,
Diana