Camunda to Start from where it fails

Question:
Say you have one FLOW with W1–>W2–>W3 one after another. Now suppose something failed at W2, you have to again start the flow from Step 1.

However, is there any way I can start again from where the flow fails, like W2 here.
If yes, can you suggest me the way, how to do the same.

How does the flow “fail” it it a technical error or has the instance been cancelled?

There can be many reason, say a third party version jar is changed which is been used. So in this case user can change jar file and then wanted to start from this point on-words,
Or say there is connection failure or network failure happened.

I think what you’re looking for would be a transaction boundary between elements to ensure the rollback doesn’t go past a certain point. For that you need to use the asynchronous before/after functionality

You can read more about it in these docs

2 Likes

Thanks, I will give it a try with rollback.
Another question came up in mind, Say I have a flow 1–>2–>3–>4–>5
Is there is a way to start flow from any point in between? Can I start from step3, or Step4 as and when wanted.

async we use mostly when we access share resources. OR when we want to check repeatedly for sometime for certain resources till available. Like Retry Counter with Time Limit. I am littler starter in Camunda, hopefully will pick things up soon.

You can start a process from any activity you like via the Java or REST APIs.
You can see anexample here.

1 Like

Thanks.
I will update with results on Monday. Will try to create some wrapper template by taking this logic.