How to let a workflow to run again if condition matches again?

Zod
Giga Guru

Hi Experts,

as we not yet using event management - we at least want be notified if our MID Servers are down.

I created a WF to create an incident in case status changes to 'Down' ... .

Unfortunately the Wf only runs once. If the status is up again and switches back to down ... no new Incident will be opened.

How can I re-run the wf if condition is true again?

I'd like to avoid fancy business rule deleting workflow version and restarting the wf hardcoded ... . The must be an option to tell within the workflow that it has to run again ... .

I was assuming I can just cancel the workflow after incident has been created ... but it will not run gain, even if cancelled.

What to do?

18 REPLIES 18

I'm sorry, I know its being used incorrectly however,, I saw an example where someone used it that way and it worked....I was running some tests. What do you suggest? This is how it originally looks, but for some reason it takes the same repeated path (post-rollback)

 

find_real_file.png

No need to apologize! In the URL link I sent previously, review how to use it.

To me, there has to be more process added to the workflow. For example, first activity is wait for Approval Request or something to happen that will trigger the approvals. Then just before Rollback, you reset the field, rollback to the wait for Approval Request. That gives the user/requester opportunity to fix the request and then resubmit for approval.

I think I understand what you mean...trying this out, after the condition activity is met, and the workflow process revisits the first approval task, the path taken still goes through the rejected path..I tried this out.

 

find_real_file.png

Ps. The condition activity is still green b/c the workflow looped all the way back there (because it took the same repeated path)

Take a look at the out of box workflow for Change Request - Normal. It might help explain it better. In one case, you have a rollback, in another case you're disassociating the previous approval requests:

find_real_file.png

I couldn't find that OOB workflow, is the name "Change Request - Normal"?