kolade
Apprentice

How to make a Workflow activity retry after going into error without the error profile page.

I've been into the use of the K2 tool for a long while, but one of my utmost challenge is about how to build a workflow to identify a failed activity and retry itself automatically, without manually employing the service of the retry button on the Error Profile page.

 

Where I use K2 for Workflow implementation, there are always instances in which there is a network break, and the Workflow runs into error.

 

Is there a way to build exceptions into Workflows in K2 Studio, such that, when there is a Network Break, the activity in question at that time gives a Return value, that can be built into a line rule to retry the workflow?

 

I really need this to implement into all Activities for every workflow I build, so that the support Team gets to do less job, as they always have their hands full managing so many different Applications at the same time.

 

All possible Reply, Advice and Resolution will be warmly welcomed.

 

 

0 Kudos
Reply
1 Reply
boringNerd1
Apprentice

Re: How to make a Workflow activity retry after going into error without the error profile page.

Hi,


 


I don't think you can get the workflow to retry itself when you design the workflow. I have seen someone implemented a script using K2 API that runs at a set interval to check if there are any errors, and if there are errors, retry the workflow. 

0 Kudos
Reply