Named events are a great way to both chain rules and extend rules with add-ins. To create a simple rule using named events, open a test incident workspace and:

 

  1. Create a rule to fire a named event:

  Create a simple rule like: when Incident.Subject changes then fire a Named Event value "SubjectChanged".

 To set the name of the named event, click on the link: "named event" in the "Then Actions" tab of the rule designer.

 After this you will see the name you entered as the rule action, such as "This rule will fire SubjectChanged named event."

 2. Create a second rule to take action on the named event from above:

  Create a rule like: when "SubjectChanged" named event fires then set Incident Status = Updated.

 To set the rule to fire on this named event, select "A named event fires" from the "When" tab of the rule designer.

 Enter "SubjectChanged" as the named event value (to match the rule above).

 Set a rule action (in the "Then Actions" tab of the rule designer) such as: set Incident Status = Updated.

 When you test this workspace you should see that the incident status is set to "Updated" after you change the Incident subject.

 

You can also use named events with Add-Ins. To do this, use the same approach as above with the only difference that you would use the add-in method TriggerNamedEvent(string). Doing this allows you to fire an event from an add-in that can trigger a rule to fire (as in the example above.)

 For more information on Named Events, see the help page for Workspace Rules at: http://www.rightnow.com/help/crm/february10/Output/wwhelp/wwhimpl/common/html/wwhelp.htm?context=crm&file=crm_admin_workspaces.8.64.html