Invoke Workday Operation
UiPath.Workday.Activities.WorkdayOperation
The Invoke Workday Operation activity uses the SOAP API operations to invoke a specified operation.
After executing the operation, the activity outputs action specific field values (if applicable) and the status of the request (success/failure information) in a ResponseStatus object (ResponseStatus) that you can use in subsequent activities (e.g., conditional logic).
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 Workday Scope activity to your project.
- Add the Invoke Workday Operation activity inside the Workday Scope activity.
- Enter values for the Input properties and Options properties if applicable.
- Create and enter
ResponseStatusvariables for the Output properties.- The request is sent to the relevant Workday API operation.
- The operation returns the
ResponseStatusvalues to your output property variables, and will populate any Out parameter variables you have set via the Object Wizard.
In the Body of the Activity
To enter your Invoke Workday Operation property values, you must use the Object Wizard by clicking the Configure button. Both input and output properties for the Operation you select in the Wizard can be specified in the dialog.
To learn more about the Object Wizard, see the Business Activity Frameworks page.
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.
Options
- TimeoutInMS - Web service call max timeout. Defaults to 2 min. Enter an
Int32orInt32variable. - Version - Specifies a specific web service version that you want to use for the activity. Enter a
StringorStringvariable.
Output
- 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 -