Hello, I have an automation that isn't behaving as expected. It runs when a customer opens a ticket and essentially has 2 relevant functions:
1. To set a supported version field based on the product version that customers select when opening the ticket
2. Then based on the time the ticket was opened (during business hours or not), and the ticket request type (an urgent ticket or not), the automation should add an automated message to the ticket.
There are different messages for the combinations of the three "variables" supported/unsupported, Out of Business Hours/During Business Hours, and Urgent / Non-Urgent requests, with the exception of Non-Urgent, Supported Requests opened during Normal business hours.
The first part of my automation sets the field for "Supported Version" to either "Yes" or "No". Then I have If statements for each set of 'variables'. I've added audit log messages in my automation to more clearly see which if statement is being verified, and I'm a bit confused as to how an issue can pass an if or if/else block, but not match the conditions:
The following issues passed:
The following issues did not match the condition:
TSM-4140
I had initially tried setting this up using a smartvalue that I set at the start of the automation to set the Supported, OoBH/DBH/ and Urgency status, however it seems that those smart values don't work outside of the if statement they were created in, so now each if block is a bit wordy, but for instance the ticket TSM-4140 should have matched the if statement conditions.
Is there an issue with having my if statements check against the field status "Supported Version" if I'm changing that value at the start of the automation?
Thanks,
James