How to add and configure a service action

How to search and add a service action

To search a new service action, please click on the puzzle icon. A panel will show up and display modules through three categories (ready to use, not configured, and not activated). You can use a search bar to find the correct one.

How to configure an Action

To configure a service action, click on it and a panel should appear. You need to fill in three different fields:

  • Inputs: process variables required to execute the process;

  • Prescript: the code used to transform these variables (if needed, you can open the field on a popup with the arrow icon to make it easier. You can expand it with the same icon at the top right of the popup). A contextual help will display variable types required, value errors, and display suggestions when filling in the field;

  • Output: process variable containing action’s result;

Prescript example:

//This is a comment
request = {
  "id": 24568,
  "firstName": "John",
  "lastName": input.lastName,
  "dob": {
      "year": "1987",
      "month": "11",
      "day": "25"
  },
  "email": "test@gmail.com",
  "phone": ...
}

In order to use an input variable, please start by writing input. followed by the variable name. If you don’t know the exact name tap Ctrl + space:

Otherwise, if you want to use a process property, simply write its variable name.

Last updated