01 Sep 2023 08:52 PM
Hi is it possible to use OR logic in an expression condition for workflow tasks?
I've tried the following:
{{ event().get('propA', 'false') == 'true' || event().get('propB', 'false') == 'true' }}
I also tried to default to property b if property a didn't exist but that didn't work either
{{ event().get('propA', event().get('propB')) == 'true' }}
Thanks in advance
Jack
Solved! Go to Solution.
01 Sep 2023 09:11 PM
Yes, it is possible look at the link
https://developer.dynatrace.com/develop/workflows/run-periodically/
04 Sep 2023 09:08 AM
I found this section of the expression reference which suits my needs https://www.dynatrace.com/support/help/shortlink/automation-workflow-expression-reference#if-stateme...