Working with Data Types
updated about 1 month ago
Each process variable has a data type. PROCESIO supports the following data types:
Primitives: string, integer, float, boolean, date-time, JSON
Custom: data model (a custom data type that can contain one or more attributes)
Examples of data types
“File” data type
The “File” is a data model that contains the following attributes:
Use a “File” variable type as process input to be able to create processes that use dynamic files as attachments in the “Send email” action. Or use it as an output variable to map to it a file that you get from the “Call API” action.
How to work map variables
Be mindful of the data types compatibility when passing values from one process variable to the property of an action. Each action property expects a given data type. This means that the variable type must match with the expected property type of the action. We refer to this as data mapping.
The variables used at a process level are called process variables. Each process may have:
If the process needs certain dynamic data in order to start, you need to configure process variables that have the “Input” tag enabled. Declare variables as “Output” if there’s certain data that you expect to get back from the process once the process has executed successfully.
You need to consider the following when mapping input/outputs to process variables: