My mistake was using the short version of the startprocesscrondetails.
One last question: I tried to build the schedule like you did. But somehow âstopstrategyâ requires an integer value when it should be a string. At least simulating with a string worked, but when I enter an integer I get an responsecode 400
Thanks again!
Hi @Adrian_Star/ @ch.j.raguse ,
Can you please assist me in editing the process schedule through orchestrator API? Orchestrator version is V2019.4.3 ? Itâs giving 400 error, not sure whatâs wrong in the API request
{
âEnabledâ: false,
âEnvironmentIdâ: â2â,
âEnvironmentNameâ: âNonProductionâ,
âExternalJobKeyâ: â",
âIdâ: 26,
âNameâ: âTestâ,
âPackageNameâ: "Test*â,
âReleaseIdâ: 55,
âReleaseKeyâ: â*",
âReleaseNameâ: "Test_NonProductionâ,
âStartProcessCronâ: â0 0/1 * 1/1 * ? *â,
âStartProcessCronDetailsâ: â{"type":0,"minutely":{"atMinute":1},"hourly":{},"daily":{},"weekly":{"weekdays":},"monthly":{"weekdays":},"advancedCronExpression":""}â,
âStartProcessCronSummaryâ: âEvery minuteâ,
âStartProcessNextOccurrenceâ: â2021-05-13T03:25:00Zâ,
âStartStrategyâ: 0,
âTimeZoneIanaâ: âAustralia/Sydneyâ,
âTimeZoneIdâ: âAUS Eastern Standard Timeâ,
âUseCalendarâ: false
âStopProcessExpressionâ: ââ,
âStopStrategyâ: null,
âStopProcessDateâ: null,
}
Appreciate your response
StartProcessCronDetails looks like this, Iâm escaping the double quotes.
`"StartProcessCronDetails": "{\""type\"":0,\""minutely\"":{\""atMinute\"":1},\""hourly\"":{},\""daily\"":{},\""weekly\"":{\""weekdays\"":[]},\""monthly\"":{\""weekdays\"":[]},\""advancedCronExpression\"":\""\""}",
`
Hi,
In UiPath Studio escape double quotes like this:
"StartProcessCronDetails": "{""type"":4,""minutely"":{},""hourly"":{},""daily"":{},""weekly"":{""weekdays"":[]},""monthly"":{""weekdays"":[{""id"":""MON"",""weekly"":""Monday"",""monthly"":""Monday""}],""atMinute"":0,""atHour"":0,""frequencyInMonths"":""3""},""advancedCronExpression"":""""}",
Hai,
In which package does setEnabled activity present in uipath.
Hi,
you need to make your own set of activities based on API services for Orchestrator. You will use SWAGGER for testing.
How to create your own library of activities for the Orchestrator API can be found here:
Hai ,
I have also done same thing as your are doing in postman. Response if 404 Not found.
Do I need to change any permissions in Orchestrator.
In Postman You need first to authorize yourself and obtain BearerToken. Then pass the BearerToken to the service in the header.
2 posts were merged into an existing topic: Trigger Jobs through API. Where is to get to ReleaseId, ReleaseKey, ExternalJobKey, and Id Information
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.