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

Stardust/Knowledge Base/API/A first Look at the Stardust API

This article will give you first taste of EPM API. I assume that you have already installed EPM modeler and have EMP runtime environment setup with simple process model deployed in it. If you haven't done this, please follow this documentation <link to come soon>.

Step 1. You will get a reference to EPM workflow service. For time being you can view it as any simple spring bean or even simple java POJO.

Step 2. Having a reference to workflow service, you can start a process with by using following API method;

workflowService.startPrcoesss("LeaveApplicationProcess", inputData, true);

Where, the parameters are;
param1: process ID which you would like to start,
param2: input data required to the process in the form of java.util.Map<String, ?>, and
param3: flag to indicate if execution to happen synchronously

Back to the top