Setting Priority by FaFR doesn't work anymore (Change Module)
Since 14505 this code doesn't work (doesn't work on 14600 either)
OnValueChange for Impact and Urgency
- var Priority_Matrix = {
- "4. University": {
- "4. Very High": "1",
- "3. High": "2",
- "2. Medium": "3",
- "1. Low": "4"
- },
- "3. Institution / Computer Lab": {
- "4. Very High": "2",
- "3. High": "3",
- "2. Medium": "4",
- "1. Low": "5"
- },
- "2. Department": {
- "4. Very High": "3",
- "3. High": "4",
- "2. Medium": "5",
- "1. Low": "6"
- },
- "1. Person": {
- "4. Very High": "4",
- "3. High": "5",
- "2. Medium": "6",
- "1. Low": "7"
- }
- };
- var impact = $CS.getText("IMPACT");
- var urgency = $CS.getText("URGENCY");
- var priority = Priority_Matrix[impact][urgency];//only for debugging
- $CS.setText("PRIORITY",Priority_Matrix[impact][urgency]);
- $CS.setValue("TITLE",impact+ " "+ urgency + " = " + priority); //only for debugging
The Values print Ok in the title but doesn't set the priority anymore.
New to ADSelfService Plus?