Hope all is well within the community!
Im working on a process where I need to send a stop command to the Job in Orchestrator after X transactions have been processed. Correct me if I’m wrong, but I believe the best approach for achieving this to be the “Stop Job” activity. However, I am having difficulty getting this to work.
I have used a “Get Jobs” activity with a custom filter. When I run the process, the Get Jobs activity is properly returning values (checking the IEnumberable during process run). However, when I attempt to pass the IEnumerable value to the “Stop Job” activity I’m continuously seeing a “Stop Job: Operation returned an invalid status code ‘BadRequest’” response.
I’ve ensured that the Robot has accurate permissions within its Role in orchestrator: View, Edit, Create for Jobs.
Is there a specific value of the IEnumerable that needs to be passed rather than the whole thing?