List Connections
UiPath.Workato.Activities.ListConnections
The List Connections activity uses the Workato List Connections API, to retrieve the list of connections that belong to the user specified in the Workato Scope activity.
After completing the get operation, the activity outputs the relevant connections in a Connection[] object (Connections).
How it works
The following steps and message sequence diagram is an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.
- Complete the Setup steps.
- Add the Workato Scope activity to your project.
- Add the List Connections activity inside the Workato Scope activity.
- Create and enter a
Connection[]variable for the Output property. - Create and enter a
ResponseStatusvariable for the Output property.
In the Body of the Activity
note
You can click the Preview List button to see a list of Connections at design time.
Properties
Common
- DisplayName - The display name of the activity. This field supports only
StringsorStringvariables.
Misc
- Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output
- Connections - The list of connections. Enter a
Connections[]variable. - ResponseStatus - The status of the request (success/failure information). Enter a
ResponseStatusvariable (UiPath.BAF.Models.ResponseStatus). TheResponseStatusobject includes three properties that you can use in other activities.- Success -
Boolean- Specifies whether the API request was successful. - ErrorCode -
String- The response error if the API request is unsuccessful (Success=False). - Message -
String- The error message.
- Success -