I just created an to run "After documents are created or modified" with the following code:
SELECT Form = "Reservation" & ResourceType = "2";
SendTo := @If(ResourceCategory = "Maintenance"; "Facilities"; @If(ResourceCategory = "Phone"; "TelCom"; "PC Support"));
@MailSend(SendTo; ""; ""; "A resource has been requested" ; ""; "The " + @Name([CN];ResourceName) + " has been requested by " + @Name([CN];ReservedBy) + " for " + @Text(StartDate) + @NewLine + "Double Click on this DocLink to view-->"; [IncludeDoclink])
The groups to receive the notification emails are "Facilites", "TelCom" or "PC Support" groups, depending on the requested Resource Category field.
Hope this helps!
Last Wiki Answer Submitted: April 23, 2009 3:10 pm by Rita55 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.