on 2021 May 05 9:56 AM

Hello,
I am trying to create a workflow rule for a service ticket. In this workflow rule, the condition I would like to use is the "Subject" of the ticket. I would like to use Subject "Matches" pattern and include multiple possible text. See below.
How do I enter multiple text patterns into this, do I seperate with comma, do I use ""? Or if I have to do this one by one, do I need an asterisk before and after, do I need to use ""?
Request clarification before answering.
Hi Will,
Can you please provide the details of the subjects used when you have used different conditions of equals to 123 and matches pattern 123*?
Because if you are using a string "Test123" in Subject field and using condition as "Matches pattern 123*" then this won't trigger a workflow as the condition in workflow should be *123*.
*123* indicates 123 is a substring in the subject field. "123" can start with / end with any other characters.
Also, for multiple patterns you will have to use multiple conditions with OR operator.
Thanks,
Gayatri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the clarification Gayatri. In our user case, we have 38 different machine types, so when our customer's send an e-mail for customer support tickets, the machine type is typically in the subject line. So, I would like to identify matches *machine1name* or *machine2name* or *machine3name* or ....
So to be clear, in the matches pattern, I need to use an asterisk before and after the text I am wishing to match - *machine1name*
And, in order to match multiple patterns, I must use OR each time.
Hi Will,
You can refer below SNOTE in order to use * with the text value for Matches pattern operator
https://apps.support.sap.com/sap/support/knowledge/en/2901135
In order to have multiple values, It can be done using "Add Group" button (for OR Condition) or "+" button beside the already added condition in order to have "AND" condition.
Adding group will allow you to add "OR" condition. Conditions within group are "OR" conditions.
Thanks,
Gayatri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gayatri,
Thank you for your answer. But my main question. I have referred to this SNOTE, and simply adding an asterisk after the word does not work. I have tested, and if I choose subject equals 123, it works, if I choose subject matches pattern 123* the workflow does not work.
Also, are you saying that there there is no way to put multiple patterns into one description? I must do "OR"?
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.