- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 12:22 PM
We have an API that logs Incident tickets when certain threat emails are detected and I need help to setup a Business Rule to be able to differentiate between the two types and then assign the ticket to a Service Offering.
There are two Service Offerings called 'Malware' and Phishing and Spam'.
I have a list of the names of the types of Phishing emails and thought to setup a Business Rules that checks if the name contains any of the names, then the action would be to set the Service Offering to 'Phishing and Spam'. The issue I am facing is how to then say if the name doesn't contain any of the names, to set the Service Offering to 'Malware'.
I would assume you could use a script but as I am new to scripting, I'm not 100% sure on how to do this.
Is someone able to advise me on how I can go about doing this please.
I have attached a copy of the 'When to run' part of my BR.
Many Thanks
Mike
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 05:11 PM - edited 11-29-2023 05:17 PM
You don’t need to script this at all. You can create this in flow designer. Flow designer has come along way and can easily replace allot of BRs out there
chuck does a great video on inbound emails and flows https://youtu.be/KZpZDqbRKU4?si=eqy50VscYLoeoAp4
This should help get you started with flow designer: https://youtu.be/3qohu-Lbusw?si=KNOfeOQvq667LI1i

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 01:48 PM
Can you post the screenshot of the script?
I think you need to add the logic/condition there with if/else condition or create another BR where you write condition doesnt contain and set to Malware
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 01:54 PM
Hi Sanjiv,
I don't currently have a script as I'm not sure how to start to make one.
I am currently using the Actions tab and have set the fields that way for Phishing but can't then set the opposite for Malware.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 04:36 PM
In that case, I would suggest creating two BR. One for 'Malware' and one for 'Phishing and Spam'
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 02:02 PM
Is Workbench name a custom field on your incident table, or was this added through a plugin? The selection box looks like you can select more than one value - is there a choice instead of 'contains' for 'is one of'?