Pushpa
Pushpa

Reputation: 61

I am looking for help on how to re-trigger the failed camunda workflows in effective way such as Batch

I am looking for help on how to re-trigger the failed camunda workflows in effective way such as Batch..

Here is the scenario details

I have a camunda workflow which is triggered by service A via rest API. The workflow uses External task to implement the business logic to talk to service B . If the workflow failed because of the transient errors in service B and those workflows will be failed. If the requests are 1 or 2, those can be re-triggered manually. But if the failed workflows are in order 10s or 100s, it will be cumbersome to do manually hence I am looking on help the options to address this..

Are there are any better ways to re-trigger the failed camunda workflows either using Camunda UI or Rest APIs or any other options?

Details of the Camunda - Community Edition, container image tag is: "7.11.0"

Upvotes: 1

Views: 1221

Answers (1)

Jan Galinski
Jan Galinski

Reputation: 11993

Note: These kind of batch operations are a build in feature of the enterprise edition, so if this is a recurring use case in your business, consider upgrading to enterprise.

That being said: you can re-build this feature using either script/rest or the java API. Basically, you create a jobQuery looking for failed instances and increase the number of retries.

Upvotes: 0

Related Questions