I have a dilemma where I am to create a maintenance window to prevent alerts from 6pm to 6am. This is log ingestion via API, that does not contain many details to allow for a criteria for filtering to allow for a maintenance window. SOOO, doing a work around using workflows to make an api call to Dynatrace to enable\disable the event extraction entities between 6pm and 6am.
So I have the api for enable\disable for the extraction event. However, there is only one trigger and I have that set to run at 6am and 6pm. BUT the condition I do not know the syntax for and I am not seeing any syntax for it in the documentation.
Condition would be to run is if time is AM run the Enable, if time is PM run disable api.
I am open to other conditions or ideas but it must be in 1 workflow as I only have 3 workflows to utilize. I can use another workflow but I do not want to do that. NOT a DPS customer yet. In this layout both run at 6am and 6pm which enables and disables them and is doing nothing. Also maintaining within one workflow for this one process keeps things organized.

