Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Stardust/Knowledge Base/API/ExamplesofAPIUsage/StartProcess
Start a Process
Purpose
Creating and starting a process instance is quite easy via the API. Each process instance will process its activity instances until it has to wait on an external event like a JMS response, a mail or a user interaction.
Requirements
You need an initialized workflow service and the id of the process definition you want to start. Reference Model.
Implementation
Exception handling
To keep the example code clear the exception handling is very simple. If you use this code productive, please add appropriate exception handling!
Missing parts
The missing code fragments ([...]) can be found here. They are omnited to present only the new parts.