Flow Run Counter usage

Hi,

 

Can anyone please let me know how to use Flow Run Counter.

 

My input parameters are

 

timeWindowMinutes  -  5

inputConstraints  -  host=localhost;notifyMethod=display

onlyFlowInputs - true

onlyResolvedFlows - false

 

Flow is like this :

Windows Health Check -> Flow Run Counter -> Resolved : success

 

i tried with all the results but i can see only "0"  displayed.

 

Thanks in Advance

 

Regards,

Nagavardhan

 

Parents
  • Why you need it? OO DB has all details about flow run duration, etc Is that just for sort of statistic? or other purposes?
  • I am using this operation to count the number of times the flow has been executed in last x mins (example: 5 mins). this is required because based on number of times the flow is run in last x mins OO flow should take a different path (may be failure path). Let me explain you with an example step by step: 1) suppose some service is down and is identified. 2) OO flow will open a ticket, restarts the service and closes the ticket. 3) the same service is down again after 10 mins of the restart. 4) now i need my OO flow to check when the service is down last time 5) if the service is down before 30 mins after service restart my OO flow should send an email rather than restarting the service. for this i hope Flow run Counter would be correct operation for my condition. Please let me know ho this operation can be used Thanks & Regards, nagavardhan
Reply
  • I am using this operation to count the number of times the flow has been executed in last x mins (example: 5 mins). this is required because based on number of times the flow is run in last x mins OO flow should take a different path (may be failure path). Let me explain you with an example step by step: 1) suppose some service is down and is identified. 2) OO flow will open a ticket, restarts the service and closes the ticket. 3) the same service is down again after 10 mins of the restart. 4) now i need my OO flow to check when the service is down last time 5) if the service is down before 30 mins after service restart my OO flow should send an email rather than restarting the service. for this i hope Flow run Counter would be correct operation for my condition. Please let me know ho this operation can be used Thanks & Regards, nagavardhan
Children
No Data