Need help building rules for sending notification messages

Document ID : KB000010613
Last Modified Date : 14/02/2018
Show Technical Document Details

I need to configure ALC so that it will send one type of message to the assignee if a new defect is opened, and another type of message to the assignee if the defect is reopened.  What is the best way to accomplish this?


f you want to send one message to the assignee when a new defect gets created, and a different message to the assignee when a defect is reopened, a Control Flow Switch rule can be used to determine which message is to be sent?

  • Condition #1 would execute only if “id < 0” (because for a new defect the id number is less than zero)
  • Condition #2 would execute only if the status had been changed to “Reopened” (updatedFields.get("Status") != null && ((updatedFields.get("Status")[1]).equals("Reopened")))



The Rule for Condition 1 is a Item Assigned Notification:

And the rule for Condition 2 would be another Item Assigned Notification

In your testing make sure that each notification rule has a completely different message so that you will know which rule is sending the message you are receiving.  Once we have the structure of the rules correct we can go back and refine the messages to be exactly what you want to send.  Also, make sure that all notification rules you have previously created have been deleted so that only these notification rules will be used.