Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Stardust/Knowledge Base/API/ExamplesofAPIUsage/StartProcess"

Line 13: Line 13:
 
==== Implementation<br>  ====
 
==== Implementation<br>  ====
  
'''Exception handling'''<br>
+
'''Exception handling'''<br>  
  
 
To keep the example code clear the exception handling is very simple. If you use this code productive, please add appropriate 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'''<br>
+
'''Missing parts'''<br>  
  
The missing code fragments ([...]) can be found here. They are omnited to present only the new parts.  
+
The missing code fragments ([...]) can be found [[STP/Stardust/KnowledgeBase/API/ExamplesofAPIUsage/CompleteAPIExample|here]]. They are omnited to present only the new parts.  
  
 
<br><br><br>  
 
<br><br><br>  
  
 
<br>
 
<br>

Revision as of 06:00, 17 November 2011

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.

Stardust Embedded API Start Process

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.





Back to the top