How to set Priority based on Category field?

Mytno1
Mega Contributor

So, it is like I have 1 category and 5 subcategory, each element in subcategory have a different value (1 or 2 or 3, it just like urgency and impact but it is subcategory) and these wil be used to calculate the priority field. I'm new to SN so I don't know much, How should I do it? Thank you.

If possible, may you show me how should I do it in detail? Like where to go, coding.. etc

Thanks

1 ACCEPTED SOLUTION

Here is the screenshot for your reference

find_real_file.png

Mark correct and helpful if this solves.

View solution in original post

15 REPLIES 15

Rahul Kumar17
Tera Guru

hi Mytno1,

priority is based on impact and urgency.

same functionality u want. please tell me

 

If my response helped please mark it correct and close the thread.

Thanks,
Rahul Kumar

Yeah I know it. But I want to know how to make priority based on other field, like this:

Well, this didn't work though 😞
Do you have any idea how to do it 🙂 Thanks

asifnoor
Kilo Patron

Hi,

To check the category as Test001 and impact as 1 use the following if condition in your onchange function

 

if (newValue == "Test001" && g_form.getValue("impact")==1) {

g_form.setValue("priority",1);  

}

 

Mark correct and helpful if this solves.

Here is the screenshot for your reference

find_real_file.png

Mark correct and helpful if this solves.

Mytno1
Mega Contributor

done, thank you. It didn't work at first but then I try set up impact first and it work. May be the impact+urgency is bigger than my script.