Warning Text and Tokens
When certain Event Business rules are violated, warnings display to the event organizer to inform them of the violation.
Warnings can be either hard warnings or soft warnings. Hard warnings require correction from the event organizer to proceed with the event, while Soft warnings inform the user of the violation, while still enabling them to proceed.
Both hard and soft warnings are defined by Veeva Messages in the EVENT_BUSINESS_RULE_WARNING category. These messages contain text and tokens that admins can customize. The Veeva Message used for a warning displays in the Warning_Text_vod field of the corresponding Event Rule.
When editing these messages, ensure the text sufficiently distinguishes the rule from other record types.
The following table describes Veeva Messages used for warnings, which rule they correspond to, and their default text.
Attendance Rule Veeva Messages
Message Name |
Description |
Default Text |
---|---|---|
EM_RULE_CROSSEVENT_MEAL_OPT_IN_ATTENDANCE |
Warning text for violations of EM Cross-Event Meal Opt-In Attendance rules. |
{{emAttendee.Attendee_Name_vod}} has opted-in for {{currentAttendance}} meals at events. Attendees cannot attend additional events if they have opted-in for more than {{emBR.Limit_Quantity_vod}} meals. |
EM_RULE_CROSSEVENT_PER_ATTENDEE_ATTENDANCE |
Warning text for violations of EM Cross-Event Per Attendee Attendance rules. |
{{emAttendee.Attendee_Name_vod}} has or will attend {{currentAttendance}} events. Attendees cannot attend more than {{emBR.Limit_Quantity_vod}} events. |
EM_RULE_MEAL_OPT_IN_ATTENDANCE |
Warning text for violations of EM Meal Opt-In Attendance rules. |
{{emAttendee.Attendee_Name_vod}} has opted-in for {{currentAttendance}} meals at {{emEvent.Country_vod}} {{emBRC.Event_Type_vod}} events. Attendees cannot attend additional events if they have opted-in for more than {{emBRC.Limit_Quantity_vod}} meals. |
EM_RULE_PER_ATTENDEE_ATTENDANCE |
Warning text for violations of EM Per Attendee Attendance rules. |
{{emAttendee.Attendee_Name_vod}} has or will attend {{currentAttendance}} {{emEvent.Country_vod}} {{emBRC.Event_Type_vod}} events. Attendees cannot attend more than {{emBRC.Limit_Quantity_vod}} events. |
EM_RULE_PER_EVENT_ATTENDANCE |
Warning text for violations of EM Per Event Attendance rules. |
{{emEvent.Country_vod}} {{emBRC.Event_Type_vod}} must have between {{emBRC.Minimum_Quantity_vod}} and {{emBRC.Maximum_Quantity_vod}} attendees. |
Expense Limit Rule Veeva Messages
Message Name |
Description |
Default Text |
---|---|---|
EM_RULE_PER_EVENT_EXPENSE_LIMIT |
Warning text for EM Per Event Expense Limit Rule violation. |
{{emBR.Expense_Type_vod}} {{emBR.Expense_Category_vod}} expense for this event must be between {{emBRC.Minimum_Spend_Limit_vod}} and {{emBRC.Maximum_Spend_Limit_vod}}. Current total is {{currentSpend}}. |
EM_RULE_PER_EVENT_ATTENDEE_EXPENSE_LIMIT |
Warning text for EM Attendee Expense Limit Rule violation. |
Total {{emBR.Expense_Type_vod}} {{emBR.Expense_Category_vod}} expense per head for this event must be between {{emBRC.Minimum_Spend_Limit_vod}} and {{emBRC.Maximum_Spend_Limit_vod}}. One or more attendees has violated this rule. |
EM_RULE_ATTENDEE_EXPENSE_CAP_LIMIT |
Warning text for EM Attendee Expense Cap Rule violation. |
The total {{emBR.Expense_Type_vod}} expense attributed to {{emAttendee.Attendee_Name_vod}} must be between {{emBRC.Minimum_Spend_Limit_vod}} and {{emBRC.Maximum_Spend_Limit_vod}}. Current total is {{currentSpend}}. |
EM_RULE_CROSSEVENT_ATTENDEE_EXPENSE_CAP_LIMIT |
Warning text for EM Cross-Event Attendee Expense Cap Rule violation. |
The total {{emBR.Expense_Type_vod}} expenses attributed to {{emAttendee.Attendee_Name_vod}} must be between {{emBR.Minimum_Spend_Limit_vod}} and {{emBR.Maximum_Spend_Limit_vod}}. Current total is {{currentSpend}}. |
EM_RULE_ACTUAL_VERSUS_ESTIMATE_EXPENSE_THRESHOLD |
Warning text for EM Actual Versus Estimate Expense Threshold Rule violation. |
Actual expense(s) for {{emBR.Expense_Type_vod}} cannot exceed the Estimated value by {{emBR.Percent_Threshold_vod}} percent. Current Actual value is {{currentSpend}}. |
Event Speaker Rule Veeva Messages
Message | Description | Default Text |
---|---|---|
EM_RULE_PER_SPEAKER_ENGAGEMENT | Warning text for EM Per Speaker Engagement Limit Rule violation. | {{emSpeaker.Speaker_Name_vod}} has been added as a speaker at {{currentAttendance}}{{emEvent.Country_vod}} {{emBRC.Event_Type_vod}} events. Speakers cannot speak at more than {{emBRC.Limit_Quantity_vod}} events. |
EM_RULE_CROSSEVENT_PER_SPEAKER_ENGAGEMENT | Warning text for EM Cross-Event Per Speaker Engagement Limit Rule violation. | {{emSpeaker.Speaker_Name_vod}} has been added as a speaker at {{currentAttendance}} events. Speakers cannot speak at more than {{emBR.Limit_Quantity_vod}} events. |
EM_RULE_PER_EVENT_SPEAKER_EXPENSE | Warning text for Per Event Speaker Expense Limit Rule violation. | Total {{emBR.Expense_Category_vod}} {{emBR.Expense_Type_vod}} per speaker for this event must be between {{emBRC.Minimum_Spend_Limit_vod}} and {{emBRC.Maximum_Spend_Limit_vod}}. One or more speakers has violated this rule. |
EM_RULE_SPEAKER_ATTENDANCE_EXPENSE_CAP | Warning text for Speaker Attendance By Expense Cap Rule violation. | {{emSpeaker.Speaker_Name_vod}} has exceeded their Speaker Expense Cap and cannot be added to this event. |
EM_RULE_PER_EVENT_SPEAKER_LIMIT | Warning text for EM Per Event Speaker Limit Rule violation. | {{emEvent.Country_vod}} {{emBRC.Event_Type_vod}} must have between {{emBRC.Minimum_Quantity_vod}} and {{emBRC.Maximum_Quantity_vod}} speakers. |
EM_RULE_PER_EVENT_SPEAKER_RATIO | Warning text for EM Per Event Speaker Ratio Rule violation. | A {{emEvent.Country_vod}} {{emBRC.Event_Type_vod}} can have {{emBRC.Limit_Quantity_vod}} attendee(s) per each speaker. |
EM_RULE_SPEAKER_ATTENDANCE_QUALIFICATION | Warning text for EM Speaker Attendance Qualification Rule violation. | {{emAttendee.Attendee_Name_vod}} is trained to speak at events for {{emTopic}}. They cannot be added as an attendee. |
EM_RULE_SPEAKER_ATTENDANCE_PRODUCT_CAP |
Warning text for Speaker Attendance By Product Cap Rule violation. |
{{emSpeaker.Speaker_Name_vod}} has exceeded their Speaker Product Cap and cannot be added to this event. |
Event Material Rule Veeva Messages
Message |
Description |
Default Text |
---|---|---|
EM_RULE_REQUIRED_EVENT_MATERIAL |
Warning text for Required Event Material Rule violation. |
{{emBR.EM_Event_Material_vod}} requires an event material file or attachment. |
Event Restricted Product Rule Veeva Messages
Message |
Description |
Default Text |
---|---|---|
EM_RULE_ATTENDEE_PRODUCT_RESTRICTION |
Warning text for Attendee Product Restriction Rule violation. |
{{emAttendee.Attendee_Name_vod}} is restricted from attending events associated with the product {{emEvent.Product_vod}} |
Warning Tokens
The following Warning Tokens can be used to customize the warnings that display to event organizers, enabling them to have a detailed understanding of what caused the violations.
These tokens cannot be used in non-Event Business Rule Veeva Messages or elsewhere in the application.
Attendance Rule Tokens
Token |
Behavior |
Examples |
---|---|---|
{{emAttendee.Attendee_Name_vod}} |
Displays the full name of the attendee causing the violation. |
Clinton Ackerman |
{{emAttendee.First_Name_vod}} |
Displays the first name of the attendee causing the violation. |
Clinton |
{{emAttendee.Last_Name_vod}} |
Displays the last name of the attendee causing the violation. |
Ackerman |
{{emBR.Date_Threshold_Type_vod}} |
Displays the Date_Threshold_Type_vod field from the corresponding Event Rule. |
Calendar Year |
{{emBR.Rolling_Period_vod}} |
Displays the Rolling_Period_vod field from the corresponding Event Rule. |
31 |
{{emBR.Limit_Quantity_vod}} |
Displays the Limit Quantity from the corresponding Event Rule. |
50 |
{{emBRC.Event_Type_vod}} |
Displays the Event Type from the corresponding Event Rule Configuration record. |
Speaker Program |
{{emBRC.Limit_Quantity_vod}} |
Displays the Limit Quantity from the corresponding Event Rule Configuration record. |
50 |
{{emBRC.Maximum_Quantity_vod}} |
Displays the Maximum Quantity from the corresponding Event Rule Configuration record. |
0, 50, 100 |
{{emBRC.Minimum_Quantity_vod}} |
Displays the Minimum Quantity from the corresponding Event Rule Configuration record. |
0, 50, 100 |
{{currentAttendance}} |
Displays the current attendance history of the corresponding attendee. |
5 |
{{emEvent.Country_vod}} |
Displays the Country of the corresponding event. If the rule is a Global Rule, this token always returns null. |
United States |
Expense Limit Rule Tokens
Token |
Behavior |
Examples |
---|---|---|
{{emBR.Expense_Category_vod}} |
Displays the Expense Category defined by the rule. |
Actual, Estimate |
{{emBR.Expense_Type_vod}} |
Displays the label of the Expense Type defined by the rule. |
Meal |
{{emBR.Maximum_Spend_Limit_vod}} |
Displays the Maximum Spend Limit defined by the rule. |
50 |
{{emBR.Minimum_Spend_Limit_vod}} |
Displays the Minimum Spend Limit defined by the rule. |
10 |
{{emBRC.Maximum_Spend_Limit_vod}} |
Displays the Maximum Spend Limit defined by the rule configuration. |
50 |
{{emBRC.Minimum_Spend_Limit_vod}} |
Displays the Minimum Spend Limit defined by the rule configuration. |
10 |
{{currentSpend}} |
Displays the current spend total calculated by an Expense Limit Rule, at rule run time. |
250 |
Event Speaker Rule Tokens
Token | Behavior | Examples |
---|---|---|
{{emBR.Expense_Category_vod}} | Pulls in the Expense Category value defined in the rule | Actual; Estimate |
{{emSpeaker.Speaker_Name_vod}} | Pulls in the Event Speaker's name. | Clinton Ackerman |
{{emTopic}} | Pulls in the Event's topic. | Cholecap |
Event Material Rule Tokens
Token |
Behavior |
Examples |
---|---|---|
{{emBR.EM_Event_Material_vod}} | Pulls in the EM_Event_Material_vod value defined in the rule | Congress Outline |
Event Restricted Product Rule Tokens
Token |
Behavior |
Examples |
---|---|---|
{{emEvent.Product_vod}} |
Displays the name of the restricted product. |
Cholecap |