Customized Return

Object that allows the customization of the robot's return.

Settings

To use this object, it is necessary to choose a code, a message, the data presented and whether the information returned should be converted to JSON or not .

General object layout

Filling in the object:

Field
Description

Title

It's the object's name and doesn't need to be changed, unless you want to identify it to make it easier to find on the robot, for example: "Customized Return - Successful Execution".

Code

Default return code used by robots. The options that can be used are:

  • RPA001: It is used for cases that the robot was able to execute successfully

  • RPA002: In cases of error when executing the robot

  • RPA003: To alert about a possible error in the environment/process.

Message

Validation message.

Example: Executed Successfully.

Data

Data that the user wants to return.

Example: Variable with specific data

Convert to JSON

When selecting this option, the variable entered in the Data field will be converted to JSON.

INTERPOLATION

This is a technical concept used in programming and you don't need to worry about changing it at this point.

USE CASES

  • When it is necessary to check the return of information in the robot's LOG.

  • ZIP code tracking via post office, verifying the successful return of the operation in the robot's LOG message.

Example

Verify the successful return of Roboteasy zip code search information.

In this example, we will use the ready-made postal check robot. To learn more about it, visit: Post Office Robot.

Example Robot - Customized Return

STEP 1: Select the Unique Identifier Name of Post Office data and its return data.

Setting Customized Return Object with Post Office return data

STEP 2: Run the robot and check the Console/LOG for a successful return.

Successful Execution - Customized Return

Download it:

Last updated

Was this helpful?