How to pass paramters through startjob api in 18.3 beta version

Hi,

I have json body as below
“{”“C1-AddCase”":{"“caseType”":"“OUTAGE”","“user”":"“SYSUSER”","“characteristic”":{"“characteristics”":[{"“characteristicType”":"“CBN”","“adhocCharacteristicValue”":"“87329784534623"”}]}}}"

I have a process created in orchestrator. When i call startjob api , i need to pass above caseType , user etc. parameter values through orchestrator api

Should i use body like below when calling startjob api
{
“startInfo”: {
“ReleaseKey”: “429cf1cc-283c-424f-a935-43f72c2ca719”,
“RobotIds”: [121],
“JobsCount”: 0,
“Strategy”: “Specific”,
“InputArguments”: “{“caseType”:“OUTAGE”,“user”:“SYSUSER”}”
}
}

Do i need declare parameters in orchestrator process?

How can i give the “characteristics” as inputArguements?Main.xaml (6.2 KB)
project.json (796 Bytes)

For passing Orchestrator API arguments, refer below link.

If you want to pass input values for bot, use Orchestrator queues.

And for passing credentials or other process related variables, use Orchestrator Assets.

HI Vivek, Thanks for your reply. we have new enhancements in 18.3 beta version which supports passing parameter values through startjob API without adding those in assets.

ref:
https://orchestrator.uipath.com/v2018.3/reference#jobs-requests

Starting a Job with Custom Values for Input Parameters

Can you please let me know where do i need to declare this parameter values in orchestrator or in studio

1 Like