Variables - Parameter Types

Since MetaBot Logic can be used in other Task Bots or Logic (of the same MetaBot), you might want to pass on certain variable parameters to another TaskBot or MetaBot Logic when executing a bot.

For this, you can use variables and define their parameter types, which can then be added as Input or Output Parameters in an automation.

You can add and update parameter types from Variable Manager > Add/Edit.

Parameter Types

In MetaBot Logic, you can define four Parameter Types for all variable types - None, Input, Output, and InputOutput

  1. None - When you want to use the variable value only in the MetaBot Logic that it was created for, define the variable as None, You cannot pass the value of such variables to another Task Bot or MetaBot Logic. Its value can only be read during Logic execution.
  2. Input - When you want the variable to accept values from Task Bot or MetaBot Logic of the same MetaBots, define the variable as Input Parameter Type. You can also assign any other value/variable as an Input Parameter in the automation.
  3. Output - When you want to use the variable value as an output in the MetaBot Logic it was created for and pass on the value to other Task Bot or MetaBot Logic as an Output Parameter, define the variable as Output Parameter Type.
  4. InputOutput - When you want to use the variable value as both input and output in the MetaBot Logic it was created for and pass on the value to other Task Bot or MetaBot Logic, define the variable as InputOutput Parameter Type. You can assign a value/variable as an Input Parameter and a variable as an Output Parameter in the automation.