Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

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

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
Cisco Employee

I think it might be

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?

New Member

Hi Warren,We don't want our

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. 

Cisco Employee

You can use the NBWS and call

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

--Shaun Roberts shaurobe@cisco.com CIAC Adoption Pilot Engineering Lead
145
Views
0
Helpful
3
Replies
CreatePlease login to create content