Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be 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/CompleteAnActivity"

Line 18: Line 18:
 
==== [[Image:Stardust CompleteAc InDataID.png|360x225px|Stardust Complete Activity In Data Mapping]]  ====
 
==== [[Image:Stardust CompleteAc InDataID.png|360x225px|Stardust Complete Activity In Data Mapping]]  ====
  
And out data mappings of the activity you want to complete:
+
And out data mappings of the activity you want to complete:  
  
[[Image:Stardust_CompleteAc_OutDataID.png|350x200px|Stardust Complete Activity Out Data Mapping]]<br>
+
[[Image:Stardust CompleteAc OutDataID.png|360x225px|Stardust Complete Activity Out Data Mapping]]<br>

Revision as of 15:10, 17 November 2011

Complete an Activity

Purpose

Completing an activity consists of four steps:

  • Get the activity from the process instance
  • Get the in data from the activity instance
  • Calculate the out data for the activity instance
  • Call the API with the out data to complete the activity instance.

Requirements

You need a Process Instance, Initialized services and the id of the in data mappings:

Stardust Complete Activity In Data Mapping

And out data mappings of the activity you want to complete:

Stardust Complete Activity Out Data Mapping

Back to the top