For more information, please refer to this announcement explaining best practices for getting answers to questions.
Default Severity by Category
Summary: We have identified 3 categories that should always default to high severity.
When the Service Request category is changed from a low severity category to a high severity category, the severity shall be set to high before update.
When the Service Request category is changed from a high severity category to a low severity category, the severity shall be set to low before update.
Any suggestion to help make the script below perform as stated above is greatly appreciated.
Content (please ensure you mask any confidential information):
if (isAttributeChanged('CategoryName')&&
CategoryName == ['No Show','Termination','New Hire Did Not Start']){
setAttribute('SeverityCd','ORA_SVC_HRHD_SEV1')