Hi All
I'm trying to build an automation using PAD. I want to achieve simple thing but for some reason, it's not working for me.
I want to see if "LastError" contains specific text and do actions based on that. Just wondering what am I doing wrong?

Hi All
I'm trying to build an automation using PAD. I want to achieve simple thing but for some reason, it's not working for me.
I want to see if "LastError" contains specific text and do actions based on that. Just wondering what am I doing wrong?
Seems like you have added double quotes around the text you're checking for. Try removing them and it should work.
Or, copy this instead of your IF statement into PAD to have it created for you:
IF Contains(LastError, $'''Action: 22''', True) THEN-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.