TracCloudNews39: Difference between revisions

From Redrock Wiki

TracCloudNews39
(Created page with "{| style="width:100%; vertical-align:top; " | style="width:250px; vertical-align:top; padding:2px 15px 2px 2px;" | {{TracCloudNewslettersTOC}} | style="vertical-align:top; padding:20px 20px 20px 2px;" | {| style="width:100%; vertical-align:top; " ==Custom Messages for Max Appointment Rules== Did you know that it's possible to create custom warning messages for your max appointment rules? This would allow you to display relevant policy information or contact details depe...")
 
No edit summary
Line 1: Line 1:
{| style="width:100%; vertical-align:top; "
<div class="category">
| style="width:250px; vertical-align:top; padding:2px 15px 2px 2px;" | {{TracCloudNewslettersTOC}}
{{TracCloudNewslettersTOC}}
| style="vertical-align:top; padding:20px 20px 20px 2px;" |
</div>
{| style="width:100%; vertical-align:top; "
==Custom Messages for Max Appointment Rules==
==Custom Messages for Max Appointment Rules==


Line 36: Line 35:
{{NewsletterContactInfo}}
{{NewsletterContactInfo}}


|}
[[Category:TracCloud]]
[[Category:TracCloud]]

Revision as of 14:40, 6 November 2023

Custom Messages for Max Appointment Rules

Did you know that it's possible to create custom warning messages for your max appointment rules? This would allow you to display relevant policy information or contact details depending on which rule the student is at the limit of. This is can be accomplished by using the “Rule Failure Message” field, found under your max appointment rules.

9370938.png

This message can be edited by going to Other > Other Options > Profiles > [Your profile] > Prefs > Scheduling > Max Appointment / Visit Rules and Blocks. You can enter a generic message in the "Rule Failure Message" field for all rules to use, or create unique messages for each rule.

1693361.png

Within the rules, you will see an ID/code in the top-right corner. Copy this, and see how it's used in the Twig example below.

File:5494722.png

{% for failRule in failRules %}
{% if failRule.id == "1Y0GYPWS" %}
Sorry, you can only have one upcoming appointment at a time. Please try again later.
{% elseif failRule.id == "HKIEAATS" %}
You can only book 4 appointments per week.
If you think an exception needs to be made, reach out to us at help@school.edu.
{% endif %}
{% endfor %}



When a student runs into a rule and this message is displayed, it first checks if the failed rule is "1Y0GYPWS". If this is true, it displays the following message. If this is false, it continues to check if the failed rule is "HKIEAATS", and so on until the end of the Twig logic.

For more information on Twig, click here. For more information on scheduling rules in general, click here.


More Questions?
We hope that you found this article helpful, and as always if you have any questions about this or any other features, please feel free to let us know by emailing Helpdesk@go-redrock.com or by submitting a ticket.
Thank you for your continued support!