Orchestrator Parameter

Hi Guys, I have the following question. I am studying Orchestrator and in an example I am practicing it is giving the following error: “For parameters of type ‘DateTime’, the valid JSON must be provided” - at the time I am going to put the parameter. Can anyone tell me how to enter this parameter?
I tried to use “” but another error is

thrown as the attachment.Main.xaml (53,5 KB)
pesquisa.xlsx (62,0 KB)
Salva.xaml (17,4 KB)
TrocaCelula.xaml (20,2 KB)

How to search?

1- Open the excel file “pesquisa”
2- In the fields in yellow enter the airports and dates and save the file - (it does up to 3 searches)
3- Enter the search quantity from 1 to 3.
4- Open the “Main” Robot and execute the search
5- Will be saved 3 searches in excel file “pesquisa”

2 Likes

Hi, I managed to find the answer on the following page:
https://orchestrator.uipath.com/docs/about-input-and-output-parameters

If you provide values for input parameters in Orchestrator, please note that they have to be provided in a JSON format. A few examples of how you can do this:

  • String - the value has to be provided without quotation marks, such as string ;
  • Int32 - provide the value as you would any integer, 11 ;
  • Boolean - two radio buttons are displayed to help you select true or false;
  • Double - provide the value as a floating point value, such as 3.5 ;
  • DateTime - provide the value as a valid JSON, such as "2012-04-23T18:25:43.511Z" ;
  • Array - provide values as valid JSON, such as [1, 1, 2, 3, 5, 8] or ["firstString", "secondString"] .
3 Likes