Convert data Version 10 (Java)

Action group: Base actions


Description

The action converts another data type variable into a string.

Action icon


Parameters

Input parameters

ParameterDescription
SourceThe variable whose value will be converted. For example: A numeric variable with value = 1 to a string variable.
Data typeThe data type to convert the value of the "Source" parameter to. For example: String.

Output parameters

The output is a variable of a selected type to which the converted value from the "Source" field will be written.

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
SourceThe variable whose value will be converted.Robin.Object
Yes
Data typeType of data to which the value of the «Source» parameter should be converted.Robin.String
Yes
Results
ResultVariable of the selected type, into which the converted value from the «Source» field will be written.Robin.Object

Special conditions of use

None.

Example of use

Task

Convert a numeric variable with value = 1 to a string.

Solution

Use the "Convert data" action.

Implementation 

  1. Open Base action group and move the "Convert data" action to the workspace.
  2. Set action parameters. 
  3. Click "Start" in the top panel to start the robot.

Result

The program robot completed successfully. The needed value was written into a "String" variable.



  • Нет меток