<< Click to Display Table of Contents >> Parameter Configuration |
Parameter configuration
When a user deals with input and output parameters to configure RPA Bots, they are configured by using JSON objects. In this section you will find the detailed explanation on how to configure input and output parameters, and managing the different data types.
The following is the list of all the available data types that can be used when configuring parameters:
Static types:
•String: it is denoted by "AAAAAA".
•Boolean: it is denoted by true.
•Double: it is denoted by 1.2.
•Integer: it is denoted by 12345.
•DateTime: it is denoted by "00/00/0000".
Dynamic types:
Bizagi detects these types, but they must be configured manually in the second step of the Wizard. To do this you must replace the auto-detected value for the structure of your outputs. For example to configure this bot:
You must replace the values of the CasesToCrate field with the Array object definition:
•Object: It is detected as "Object - Edit Value". This value must be modified to match whatever is needed (the properties must match those defined in UiPath, they are case sensitive), for example:
{
"Propery One": "Value",
"Property Two": "Value"
}
•Array Object: It is detected as "Array Object - Edit Value". This value must be modified to match whatever is needed (the properties must match those defined in UiPath, they are case sensitive), for example:
[
{
"Array Element Property 1": "Value",
"Array Element Property 2": "Value"
}
]
•DataTable: It is detected as "DataTable - Edit Value". This value must be modified to match whatever is needed (the properties must match those defined in UiPath, they are case sensitive), for example:
[
{
"DataTable Property 1": "Value",
"DataTable Property 2": "Value"
}
]
Objects, Arrays and Data Tables are structures that internally store parameters of the first described types. This means that the value of each defined property of this objects must be defined as one of the "static" types. You can't use a nested dynamic type. If you don't modify the value of this parameters, Bizagi Studio will interpret it as a String.
Last Updated 1/6/2022 4:35:51 PM