You said:
"during some maintenance activity teams have suspended a few workflows and due to negligence if they didn't release it after activity. "
I would be studying HOW are they suspending these workflows such that it allows them to miss desired run schedules. I would think these processes need correcting or enhanced to automatically re-activate.
Creating a bunch of SLO solutions is still a smart idea. But they aren't the root of the problem that needs solving either.
Regarding platform failures (Agent is unavailable, etc) We've installed an alert system that traps these errors from the MSG table, so even in the rare event that a resource becomes available, someone gets pinged so it can be resolved quickly.
------------------------------
Pete Wirfs
SAIF Corporation
Salem Oregon USA
------------------------------
Original Message:
Sent: Jan 11, 2022 05:32 AM
From: Amey .
Subject: Notify if job didn't started at specific time
Hi Shani,
We have observed that during some maintenance activity teams have suspended a few workflows and due to negligence if they didn't release it after activity.
We observed panic situations among teams, so just to avoid trying to check if we can have such utility which will help to resolve such things.
Regards,
Amey Deshpande
Original Message:
Sent: 1/11/2022 3:42:00 AM
From: Shani Kushwaha
Subject: RE: Notify if job didn't started at specific time
Hi Amey,
A workflow inside another workflow can have the checkpoint option enabled.
A workflow within a JSCH object doesn't have any such option and a JSCH/JOBP Object doesn't affect by agent down but only occur in scenarios like AE down/DB errors which will affect the entire AE system not only the workflow and there are other options to do the AE health checks.
The scenario which you are mentioning is very unlikely to happen because a workflow in a JSCH object gets enabled as soon as the start time and other condition matches.
You can use SLO or can have a workflow Start check job but again, creating that for all the workflows being used in a JSCH will be a tedious job.
**** Following the post for other suggestions ****
------------------------------
Thanks
ShaniK
Automic - HCL
Original Message:
Sent: Jan 11, 2022 03:18 AM
From: Amey .
Subject: Notify if job didn't started at specific time
Exactly, suppose a workload is scheduled at 6:00 AM and due to some patching activity or maintenance or Agent down situation workflow didn't trigger at 6:00 AM
we need an alert to be sent out.
Original Message:
Sent: 1/11/2022 2:42:00 AM
From: Matthias Schelp
Subject: RE: Notify if job didn't started at specific time
Hm,
this would check for the jobs result, but if I understand correctly @Amey . would like to check the starttime.
Regards,
Matthias
Original Message:
Sent: Jan 10, 2022 04:04 AM
From: Shani Kushwaha
Subject: Notify if job didn't started at specific time
you would need to test this option under schedule object for the workflow.
-
Shani
------------------------------
Thanks
ShaniK
Automic - HCL
Original Message:
Sent: Jan 10, 2022 03:54 AM
From: Amey .
Subject: Notify if job didn't started at specific time
Hi Shani,
Yes it worked for the JOBS which are in workflow.
What about Workflow , suppose if workflow is scheduled to start at 6:00 AM Daily and due to some reason like suspend or hold if it didn't execute then can we get a notification.
Regards,
Amey Deshpande
Original Message:
Sent: 1/10/2022 3:36:00 AM
From: Shani Kushwaha
Subject: RE: Notify if job didn't started at specific time
Hi Amey,
for your requirement, "checkpoint" is the preferred and simplest option as suggested by @Jared Kessans. this can be enabled in all the workflows and it will send the notification even if JobB is in "Waiting for Predecessor" condition.
-
Shani
------------------------------
Thanks
ShaniK
Automic - HCL
Original Message:
Sent: Jan 07, 2022 04:15 AM
From: Amey .
Subject: Notify if job didn't started at specific time
Hi Jared,
I am currently exploring Automic workload automation but never heard of Checkpoint.
It will be really helpful if you provide an example for the same.
Regards,
Amey Deshpande
Original Message:
Sent: 1/6/2022 1:23:00 PM
From: Jared Kessans
Subject: RE: Notify if job didn't started at specific time
Amey, did you check out the Checkpoint option? It's used for this exact scenario based on your original post.
Original Message:
Sent: Jan 06, 2022 12:59 PM
From: Amey .
Subject: Notify if job didn't started at specific time
Hi Pete,
I have few things to check for creating status check workflows -
1. we have monthly code releases and patching activities and during those we need to suspend/Hold jobs. so if we create status check workflows which means we need to run them on some agent to check the status of the job or application. so in that case if job or workflow are in suspend/hold state how it will provide delay notifications.
2. we are having over 500 workflows which executes on daily, hourly, half hourly basis so adding more applications to check the status can be a tedious task for monitoring team.
I think SLO may help only if it allows to track using Alias name.
Regards,
Amey Deshpande
Original Message:
Sent: 1/6/2022 11:08:00 AM
From: Pete Wirfs
Subject: RE: Notify if job didn't started at specific time
I played with the SLO feature a little bit, but we had already created our own best practice that is still working well for us. If our JOB.A needs to have a 10AM SLA test, we would build a new workflow that we would call JOB.A.10AM.CHECKER that runs at 10AM to check the status of JOB.A.
One thing I prefer about this home-grown practice, is it is more visible/intuitive to everyone that this check is taking place, complete with run history for the check activity. The SLO feature is stored under a different area of the AWI and staff are less likely to be aware (without training) of what is and isn't getting checked.
------------------------------
Pete Wirfs
SAIF Corporation
Salem Oregon USA
Original Message:
Sent: Jan 06, 2022 09:33 AM
From: Mick Solliday
Subject: Notify if job didn't started at specific time
I too have been unable to get an SLO to cover the missed start time scenario.
I had to build a workflow that makes an API call to get all the start times for schedules. Then it puts that info in an array, had to do some format conversion in the post-processing to make the date/time format match usable predefined formats. Then the second step is a script object that takes a list of objects in a VARA and compares the start time with the previous start time. If it falls outside a time range it activates our workflow to create a servicenow ticket.
More than happy to share the solution I built if someone would want to look at it and see if it could be adapted to their needs.
You would think for such a common scenario there would be a basic feature that could monitor start times out of the box, but I couldn't make anything work correctly. If that changes, I'll update here. :)
Original Message:
Sent: Jan 05, 2022 12:52 PM
From: Amey .
Subject: Notify if job didn't started at specific time
HI team,
We need help on a common scenario which many of you already resolved -
Problem statement - We have JOB A and JOB B in a WORKFLOW, where JOB B runs at everyday 10:00 AM, we want to send a notification if JOB B didn't start executing at 10:00 AM, similar notification we want to implement at WORKFLOW level as well.
Solution we have tried - on time and dependency we have added time dependency as 10:00 AM and also at precondition we have added "if time is before 10:00 AM execute Task else notification object and execute task"
Observations - we are getting delay notification only when JOB B is getting active, but we want notification to be sent out as soon as time goes past 10:00 AM even though JOB B is in waiting for predecessor state.
Similarly for workflow , we have created a JOB schedule and added daily applications but due to some activity if we hold/Suspend the application then also we want to create a notification that workflow didn't starts on a specific day.
Thanks in advance
Regards,
Amey Deshpande