cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
648
Views
0
Helpful
3
Replies

Is it possible to have a Cron job in CPO to check the running status of a workflow

jkanchar
Level 1
Level 1

Is it possible to have a Cron job in CPO to check every hour to see if a particular workflow is running, if not trigger it by creating a alert, if yes- autokill

 

 

 

 

 

 

3 Replies 3

Warren Ackerman
Level 1
Level 1

I think it might be beneficial to understand your full use case. There are multiple ways to do something similar to this but the intent and execution may differ without further details. Do you want a process to 'expire'? Do you want it to not execute twice at once? What is the real need?

Hi Warren,

We don't want our process to expire and also not to execute twice at once. We have a provisioning wrapper workflow which is triggered one time by an alert and it runs endlessly by creating an alert at the end of each instance triggering another instance of the same unless CPO hangs or goes to stand by mode. Since we belong to service team, we don't have any kind of access to CPO DB or logs, so that possibility is ruled out. Just checking for alternatives. 

Shaun Roberts
Cisco Employee
Cisco Employee

You can use the NBWS and call the ProcessInstance WSDL to check the status of a process.

--Shaun Roberts
Principal Engineer, CX
shaurobe@cisco.com

Review Cisco Networking for a $25 gift card