- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
11-29-2023 12:29 PM
Hi, I am new to XSOAR and I was wondering if there was a conventional way of arranging similar conditions. For example, I am getting a ticket in task 1 and I want the following task (task 2) to give a value to a field called ticket.status. conceptually, the condition would look like this:
IF ticket.severity == 'Critical' then ticket.status = 1
OR if ticket.severity == 'Medium' then ticket.status = 2
OR if ticket.severity == 'Low' then ticket.status = 3
In a programming language we can combine multiple conditions into 1 statement. Is there a way to combine multiple conditions like this into one task?
12-05-2023 12:43 AM
Hi @NobodyNose2567 ,
you can achieve that using a conditional task. First, you need to specify your conditions which follow the path accordingly. Then for each condition, you can select Set Task to set the status.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!