Automations
All questions related to Workflow Automation, AutomationEngine, and EdgeConnect, as well as integrations with various tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Workflow if statement

Nathanieltat
Participant

Hi All, 

I have tried to understand the conditions parts on the workflows but i'm struggling. Im wanting to use the same workflow rather than making two. 

Im wanting if it is the 250 MS alert to go down the p2 tree and not the p3 but if its the 100 MS alert to go down the p3 tree and not the p2 tree.

I'm not sure how to do it with the conditions. 

Nathanieltat_0-1781700768797.png

 

2 REPLIES 2

Julius_Loman
DynaMight Legend
DynaMight Legend

Conditions are set on the nodes. So you need to set appropriate conditions on the request_to_snow_p2 and request_to_snow_p3 . See more here. Probably you need something like for the p3 condition:

{{ event()["event.name"] in ["WRAC 01 100MS Timedrift Alert", "WRAC 02 100MS Timedrift Alert"] }}

You are setting trigger on Davis event (not Davis problems), just be sure you are alerting on the right information.

Dynatrace Ambassador | Alanata a.s., Slovakia, Dynatrace Master Partner

Nice thank you, i will try this. 

Good spot i changed it to match the other workflow i have so it shows the following.

Nathanieltat_0-1781771611097.png

Featured Posts