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/CompleteAnActivity
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:
And out data mappings of the activity you want to complete: