Provides a set of operations on a Microflow.
public interface IMicroflowService
name | description |
---|---|
CreateMicroflow(…) | Creates a microflow and adds it to its containing folder. It initializes it with start and end nodes and the specified parameters. It uses ReturnType property of IMicroflow to set the Return Type and its value, using the MicroflowReturnValue parameter./>. The microflow must be added to the app model first before this method can be used. |
GetAllMicroflowActivities(…) | Get all activities of a microflow that are exposed as IActivity in the API, including nested activities (loop). Order and nesting of activities cannot be determined from the result. |
GetParameters(…) | Get all parameters of a microflow. |
Initialize(…) | Initializes an empty microflow with start and end nodes and the specified parameters. It uses ReturnType property of IMicroflow to set the Return Type./>. The microflow must be added to the app model first before this method can be used. |
IsVariableNameInUse(…) | It verifies if variable name has already been used in the IMicroflow . |
TryInsertAfterStart(…) | Inserts activities in the microflow directly after the start event. |
TryInsertBeforeActivity(…) | Inserts activities in a microflow directly before the insertBeforeActivity. This insertBeforeActivity must be connected in the microflow and must contain exactly 1 incoming SequenceFlow. |
UpdateActionAfterRename(…) | When a variable is renamed, this method needs to be called to update all the usages and references to it. |
- namespace Mendix.StudioPro.ExtensionsAPI.Services