Create Activities
Follow the below steps to create a activity:
- From the explorer menu, right-click Activities and select Add Folder.
- Provide a suitable name for the folder. These folders can be used to segregate and categorize the related activities together.
- Right-click the created folder and select Add Activity.
- In the properties panel, configure the properties as required and then click save icon.
| Property | Description | Comments |
|---|---|---|
| Name* | Provide the name of an activity. | Name must start with a character followed by alphanumeric or '_'. No spaces are allowed. Except underscore (_), no other special characters are allowed. Name cannot start with a number. |
| Group | Name of the folder is displayed here. | This property cannot be edited. |
| Async Operation* | Specify whether the activity is an async operation or not. Either Yes or No. | By default, it is set to No. |
| Description | Provide the summary. | - |
| Is Active | Specify whether the activity is active for accessing or not. Either Yes or No. | By default, it is set to Yes. |
Note: An asterisk (*) denotes that the property is mandatory for creating an activity.
The "Activity added successfully" message displays upon successful creation.
- The activity designer canvas shows the Start and Stop constructs by default. From the ribbon, add the required constructs and configure them as required inside the flow to create a logic. For more information on constructs, refer to Configure Constructs.
- Click save icon to save an activity.
The "Activity updated successfully" message displays upon successful update.


Structure of an Activity
The created activity contains the following:
- Input Params
- Output Param
- Variables
- Exceptions. A base exception is created by default when an activity is created.

Add Input Parameters, Output Parameter and Variables
Users can add the parameters and variables to an activity as applicable. To add, follow the below steps:
- Right-click the Input Params (or) Output Param (or) Variables and select Add. A pop-up window displays.
- Configure the below properties as required and the click Save.
| Property | Description | Comments |
|---|---|---|
| Parameter Name* | Provide the name of a parameter. | Name must start with a character followed by alphanumeric or '_'. No spaces are allowed. Except underscore (_), no other special characters are allowed. Name cannot start with a number. |
| Is Array | Specify whether the parameter is an array or not. | By default, it is set to No. |
| Data Type* | Select the data type of the parameter from the drop-down. | - |
Note: An asterisk (*) denotes that the property is mandatory for creating a parameter or variable.
The success message displays upon successfully adding a parameter or variable.

Add Exceptions
Users can add the exceptions to an activity as applicable. To add, follow the below steps:
- Right-click Exceptions and select Add. A pop-up window displays.
- Configure the below properties as required and the click Save.
| Property | Description | Comments |
|---|---|---|
| Name* | Provide the name of the exception. | Name must start with a character followed by alphanumeric or '_'. No spaces are allowed. Except underscore (_), no other special characters are allowed. Name cannot start with a number. |
| Exception* | Select the exception from the drop-down. | The exceptions created in the Workflow Exceptions folder are available in the drop-down. |
Note: An asterisk (*) denotes that the property is mandatory for adding an exception.

Constructs
The following are the constructs available in an activity:
| Constructs in Activity | |||
|---|---|---|---|
| If | Assignment | Foreach | Break |
| Continue | While | Return | Initialize |
| Switch | Run Query | Run Query Async | Query Output Mapping |
| Call REST API | Call Helper Flow | Log | WhenAll |
| WhenAny | Raise Exception | Begin Transaction | Complete Transaction |
| Call Workflow | Get Workflow Status | Terminate Workflow | Get Workflow Result |
| Raise Event | C# Snippet | Create Anonymous Object | Json Parse |
| Json Search | Convert Json to Xml | Convert Xml to Json | Call Aggregate Function |