Skip to main content

Role Review Notification

Reminder notification concerning role review.

Examples

The following example sends after 2 days a reminder notification to users who were already notified by the native notification for role review (on resources from Directory_User) and have not yet performed the action. The email's content and styles are those from the original notification, but the subject is overridden by TitleExpression here.


<RoleReviewNotification Identifier="RoleReview_Directory_User_Reminder" OwnerEntityType="Directory_User" TitleExpression="C#:user:return &quot;Reminder: You have pending roles to review&quot;;" ReminderInterval="2880" />

The following example sends the exact same notification as the previous example, but with different templates for the content and the styles.


<RoleReviewNotification Identifier="RoleReview_Directory_User_Reminder" OwnerEntityType="Directory_User" RazorTemplate="./Templates/RoleReview_Reminder.cshtml" CssTemplate="./Templates/RoleReview_Reminder.css" TitleExpression="C#:user:return &quot;Reminder: You have access pending roles to review&quot;;" ReminderInterval="2880" />

Properties

PropertyDetails
Identifier requiredType String Description Unique identifier of the notification.
OwnerEntityType requiredType String Description Identifier of the entity type that represents the population affected by the notification, and the variable type used in TitleExpression.
CssTemplate optionalType String Description Path to the css file that defines the styles for the email. Note: the path must be relative to the configuration folder, and the file must be inside it. Note: when no template is specified, the reminder notification will use the same template as the original notification.
RazorTemplate optionalType String Description Path to the Razor cshtml file that defines the email's body template. Note: the path must be relative to the configuration folder, and the file must be inside it. Note: when no template is specified, the reminder notification will use the same template as the original notification.
ReminderInterval default value: 0Type Int32 Description Time period (in minutes) after which a reminder of the original notification should be sent. Note: the notification reminder will be sent by the first SendNotificationsTask after the reminder interval is exceeded.
TitleExpression optionalType String Description C# expression that defines the email's subject. The expression's variable type is defined in OwnerEntityType. See the Expressions topic for additional information.