Skip to main content

Create Activities

Follow the below steps to create a activity:

  1. From the explorer menu, right-click Activities and select Add Folder.
  2. Provide a suitable name for the folder. These folders can be used to segregate and categorize the related activities together.
  3. Right-click the created folder and select Add Activity.
  4. In the properties panel, configure the properties as required and then click save icon.
PropertyDescriptionComments
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.
GroupName 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.
DescriptionProvide the summary.-
Is ActiveSpecify 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.

  1. 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.
  2. Click save icon to save an activity.

The "Activity updated successfully" message displays upon successful update.

Add Folder and Activity

Add Activity

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.

Structure of Activity

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:

  1. Right-click the Input Params (or) Output Param (or) Variables and select Add. A pop-up window displays.
  2. Configure the below properties as required and the click Save.
PropertyDescriptionComments
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 ArraySpecify 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 Parameter to Activity

Add Exceptions​

Users can add the exceptions to an activity as applicable. To add, follow the below steps:

  1. Right-click Exceptions and select Add. A pop-up window displays.
  2. Configure the below properties as required and the click Save.
PropertyDescriptionComments
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.

Add Exception to Activity

Constructs​

The following are the constructs available in an activity:

Constructs in Activity
IfAssignmentForeachBreak
ContinueWhileReturnInitialize
SwitchRun QueryRun Query AsyncQuery Output Mapping
Call REST APICall Helper FlowLogWhenAll
WhenAnyRaise ExceptionBegin TransactionComplete Transaction
Call WorkflowGet Workflow StatusTerminate WorkflowGet Workflow Result
Raise EventC# SnippetCreate Anonymous ObjectJson Parse
Json SearchConvert Json to XmlConvert Xml to JsonCall Aggregate Function