Exactly what I was after! Thanks so much.
I have little experience with expressions in Purecloud so I have one last question if you can assist.
Below would be the line I'd use, do you know where I would put the 'OR' to continue on to the next line?
Contains(toString(Email.Message.subject) , Append("abc", Append("abc", Append("abc", Append("abc", "1234")))))
Thanks!
------------------------------
Jordan Miller
People's Postcode Lottery
------------------------------
Original Message:
Sent: 09-17-2019 11:03
From: George Ganahl
Subject: deep call stack
I finally took time to track down the documentation:
https://help.mypurecloud.com/articles/complex-expression-error/
------------------------------
George Ganahl GCP (PureCloud) ICCE CCXP
Principal Technology Consultant
Genesys
Original Message:
Sent: 09-17-2019 10:55
From: George Ganahl
Subject: deep call stack
Ignore that...I forgot you can use that Ignore Case boolean statement on the end. Sorry!
So, back to the nested Select actions idea.
------------------------------
George Ganahl GCP (PureCloud) ICCE CCXP
Principal Technology Consultant
Genesys
Original Message:
Sent: 09-17-2019 10:18
From: George Ganahl
Subject: deep call stack
It probably makes sense, but not sure yet...those are not valid Contains() expressions, either, due to the word true in each.
Should be
Contains(toString(Email.Message.subject),"Cancel") or
Contains(toString(Email.Message.subject),"unsubscribe") or
Contains(toString(Email.Message.subject),"stop") or
Is that what you actually have?
To get around the limit, looks like you will have to use nested Select or Decision actions.
------------------------------
George Ganahl GCP (PureCloud) ICCE CCXP
Principal Technology Consultant
Genesys
Original Message:
Sent: 09-17-2019 09:39
From: Jordan Miller
Subject: deep call stack
Hi George,
Below is some examples. And from the below key words, I've got that filtering to a specific queue in relation to those words.
Contains(toString(Email.Message.subject) , "Cancel", true) or
Contains(toString(Email.Message.subject) , "unsubscribe", true) or
Contains(toString(Email.Message.subject) , "stop", true) or
The issue I'm having is I can't add more than 60 calls of the above expression. Does this make sense?
Thanks
------------------------------
Jordan Miller
People's Postcode Lottery
Original Message:
Sent: 09-17-2019 09:33
From: George Ganahl
Subject: deep call stack
Can you show the actual expression you are building? Those are not valid Contains() expressions.
------------------------------
George Ganahl GCP (PureCloud) ICCE CCXP
Principal Technology Consultant
Genesys
Original Message:
Sent: 09-17-2019 09:05
From: Jordan Miller
Subject: deep call stack
Hi All,
Within architect I'm adding a filter expression onto a Switch case on our only email flow, as it's required for a new email queue I'm creating.
Although the issue I've come across is that my call stack is too deep, basically I have too many key words/phrases I'm using for filtering.
I'm using the string "Contains(toString(Email.Message.subject) & Contains(toString(Email.Message.body)" yet receive an error stating the stack can only be 60 deep.
Is there a better way of doing this? Or a way around it, I don't want to have to create another case to continue on with this.
Thanks in advance, if you need any information/screenshots etc I can provide!
#ArchitectureandDesign
------------------------------
Jordan Miller
People's Postcode Lottery
------------------------------