Lea y revise la documentación de Automation Anywhere

Automation 360

Cerrar contenidos

Contenidos

Abrir contenidos

Boolean package

  • Actualizado: 2022/01/04
    • Automation 360 v.x
    • Crear
    • Espacio de trabajo de RPA

Boolean package

The Boolean package contains actions that enable you to do various operations on Boolean values.

Actions in the Boolean package

The actions in the Boolean package accept a variable as an input and assign the output to a variable. These actions enable you to compare two Boolean values, convert a Boolean value to a string or numeric value, and convert a string value to a Boolean value.

The Boolean package includes the following actions:

Acción Descripción
Asignar Assigns a constant value (True or False) or a user-defined value to a Boolean value.
  • Select the source Boolean variable or value.
  • Select the variable to use to store the output from the Destination Boolean variable list.

    The output is stored in a Boolean variable.

Comparar con Compares two Boolean values and assigns the output to a numeric variable.
  • Select the Boolean variables to compare from the Select the first Boolean variable and Select the second Boolean variable lists.
  • Select the variable to use to store the output from the Assign the output to number variable list.

    The output is stored in a number variable.

Igual que Verifies whether the two Boolean values are equal or not, and assigns the output to a Boolean variable.
  • Select the variables that contain the Boolean values to verify from the Select the first Boolean variable and Select the second Boolean variable lists.
  • Select the variable to use to store the output from the Assign the output to number variable list.

    The output is stored in a Boolean variable.

Invertir Converts a Boolean value to the opposite value (True to False and False to True), and assigns the output to a variable.
  • Select the Boolean value to convert. Choose from False, True, or a Variable.
  • Select the Boolean variable to use to store the converted value from the Assign the output to variable list.
A número Converts a Boolean value to a numeric value. This action converts True to 1 and False to 0.
  • Select the Boolean variable to convert from the Select Boolean variable list.
  • Select the numeric variable to use to store the converted value from the Assign the output to variable list.
A cadena Converts a Boolean value to a string value.
  • Select the Boolean variable to convert from the Select Boolean variable list.
  • Select the string variable to use to store the converted value from the Select the string variable to store the result list.

Compare results for the Compare to action

The following table illustrates how two Boolean values are compared using the Compare to action and their output:
Boolean value 1 Boolean value 2 Compare result
True True 0
True False 1
False True -1
False False 0

Compare results for the Equal to action

The following table illustrates how two Boolean values are compared using the Equal to action and their output:
Boolean value 1 Boolean value 2 Equal result
True True True
True False False
False True False
False False True
Enviar comentarios