How could I start a job with stop strategy via Orchestrater api?

Hello there,

I’m using [Orchetsrator URL]/odata/Jobs/UiPath.Server.Configuration.OData.StartJobs to start Jobs on our internal management platform, while seems the “StopStrategy” and “StopProcessExpression” that setup for triggers could not be used in StartJobs api.

How could I send the stop strategy alone with startjob request?

Hi @LottieO

Since the StartJobs API doesn’t support directly passing a stop strategy, you’ll need to implement custom logic within your robots using arguments or triggers to manage stopping the job. You can also manually stop the job later if needed via the Orchestrator API.

happy Automation

What is your Internal Management Platform?

Thank you, understood that the stop strategy should be setup separately when using api.

We are setting up a portal for RPA to optimize RPA operations.

Thats interesting, do you mind me asking what functionality you miss using the regular orchestrator?

Sure.
First of all, Orchestrator is a great platform that make it easy to do the source code management, orchestration of jobs, asset management and providing other awesome capabilities.
While due to the complexity of process environments, inconsistent personnel capabilities, along with continuous changes/human typos, our RPA operations and maintenance is facing various challenges.
That’s why we need to optimize the ops, and we are planning:

  1. Expose gateway for 3rd party platform to trigger job with specified arguments;
  2. Monitor the running status and auto rerun with same setting;
  3. Release customized notifications via webhook;
  4. DIY dashboard for the SLA of specific package;
  5. Check the resources assigned to specified project which has many packages real-time;
  6. Setup workflow that make the addition of robot/process/asset could be under management.
1 Like

Write a blog post when you are done, It would be interesting for us to see the features you have built a wrapper around the Orchestrator for.

1 Like

Welcome to provide more ideas to make the wrapper be more interesting.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.