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 3: Line 3:
 
==== Purpose <br>  ====
 
==== Purpose <br>  ====
  
__NOTOC__
+
__NOTOC__  
  
 
Completing an activity consists of four steps:  
 
Completing an activity consists of four steps:  
Line 14: Line 14:
 
==== Requirements  ====
 
==== Requirements  ====
  
You need a [[STP/Stardust/KnowledgeBase/API/ExamplesofAPIUsage/StartProcess|Process Instance]], [[STP/Stardust/KnowledgeBase/API/ExamplesofAPIUsage/Initialization|Initialized services]] and the id of the in data mappings:
+
You need a [[STP/Stardust/KnowledgeBase/API/ExamplesofAPIUsage/StartProcess|Process Instance]], [[STP/Stardust/KnowledgeBase/API/ExamplesofAPIUsage/Initialization|Initialized services]] and the id of the in data mappings:  
  
==== <br><br><br> ====
+
==== [[Image:Stardust_CompleteAc_InDataID.png|360x225px|Stardust Complete Activity In Data Mapping]]<br><br><br> ====
  
 
<br>
 
<br>

Revision as of 15:06, 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



Copyright © Eclipse Foundation, Inc. All Rights Reserved.