Setting priority on sc_task table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 12:15 AM
Hi team,
I have multiple catalog items using same flow and i have multiple conditions of setting priorities on sc_task table mentioning below.
This is for first catalog item having variable" Is this Internal Issue or External Issue?" having choices "Internal issue and External issue "
1.Internal, P2 External issue P1 .
This is for second catalog item having variable" Is this emergency or broken equipment?" having choices "emergency and broken equipment"
2.P2 unless emergency or broken equipment, then P1.
This is for third catalog item having variable" Is this security issue or general maintenance?" having choices "emergency and broken equipment"
3.P1 if a security issue, P2 or P3 if general maintenance.
So how to achieve this could anyone please help me .
Help will much appreciate !
Thank You!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 12:23 AM
Hi Snehal,
In this case you will have to add 3 if conditions to check the Catalog item name. This can be checked by dot walking to the RITM record -> Item field. Each If condition will check which catalog item it is
If catalog item is 1 then get the variable value from variable and use the update record activity to update the priority accordingly.
Same for catalog item 2 & 3.
If my answer has helped you in any way please mark it as correct or helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 12:25 AM
Hi @Snehal ,
As i can see 1 flow is being used for multiple catlaogs and each catalog has diffrent choices to check and decied priority. What i suggest it to modify the flow to check for all conditions in a <if else> conditions and set the priority accordingly.
Ex:
step 1 > get the catalog varaible.
step 2 > use <if condition>
check if var is Internal Issue / External Issue
set the value in flow: if < Internal Issue> set value of priority as P2
else if < External Issue> set value of priority as P1.
step 3 > use < else if >
check if var is emergency and broken equipment
set the value in flow: if <emergency> set value of priority as P2
else if < broken equipment > set value of priority as P1.
and so on....
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 12:41 AM
@Snehal Below is the snippet of the flow,
You can use "Get Catalog Variables" with different flows and use If-Else condition with variable selection and update of the record (respective table).
Expansion of Step 4 for Variable selection
Expansion of Step 5 for Priority setting,
Please mark this as helpful and accept it as a solution if this resolves your query.
Thanks,
Sujatha V.M.
Sujatha V.M.