conductor icon indicating copy to clipboard operation
conductor copied to clipboard

[Question] How to retry a failed workflow

Open manudilipshah opened this issue 8 years ago • 3 comments

I was trying to figure out the following API's POST /workflow/{workflowId}/rerun POST /workflow/{workflowId}/restart POST /workflow/{workflowId}/retry

I was able to run restart using the following request curl -X POST http://:8080/api/workflow//restart

Can you give some examples on how to rerun and retry workflows

manudilipshah avatar Jul 20 '18 09:07 manudilipshah

Have you tried using the workflow-id that is outputted after starting the workflow?

saidatta avatar Jul 20 '18 16:07 saidatta

Yes @saidatta I tried.If it works for you can you please comment with the complete request along with the request body if any

manudilipshah avatar Jul 23 '18 04:07 manudilipshah

@manudilipshah You can learn more about all the API's available with Swagger, which should be available out of box. Also there is limited documentation on how to use certain API's. Eg: https://netflix.github.io/conductor/runtime/#rerun And for retry, you just have to pass in workflowId in query params.

kishorebanala avatar Feb 05 '19 00:02 kishorebanala