- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2024 02:28 AM
Hi,
Request type is 'add' have to create 2 sctasks and Request type is 'remove' have to create 1 sctask and Request type is 'modify' no sctasks have to create. The problem here is when i select Request type is modify it also create sctask. How to configure. please help me.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2024 03:47 AM
Hi @Shaik22 ,
Use switch core activity, select field or variable (i.e Request Type),
Ex:
Hope this helps!!!
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2024 03:47 AM
Hi @Shaik22 ,
Use switch core activity, select field or variable (i.e Request Type),
Ex:
Hope this helps!!!
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2024 03:58 AM
It is not possible by IF condition?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2024 04:32 AM
Hi @Shaik22 ,
Using If you can return two values either New/Modify or New/Remove or Modify/New or Modify/Remove
if any of two request is same you can use if since you need to create
New - 2 Task
Modify - No Task
Remove - 1 Task
Better to use Switch (its very easy to configure)
or You really wanna use only if use two if activity
1)if(Modify or Not) -> If output is Modify no task go the next step or end the workflow, if output is Not
2)Check if New or Remove and have the existing logic.
Hope this helps!!!
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025