R32943 SocialComment - Notify The Mentioned User

Name Value
Code R32943
Entity Communities.Social.Comments Entity
Name NotifyTheMentionedUser
Attribute -
Layer Back-End
Events Committed
Priority Normal
Modify YES
Applicable Legislations ALL // no condition needed
Action If Comment_Text contains "{Public_Users(" ,
then create a new Notification as follows:

- Notification.UserId = the UserId from the mention in the comment text {Public_Users(UserId).FullName}
- CreationTimeUtc = NOW
- Notification.DataObjectId = SocialComments.DataObjectId
- NotificationClass = NT_SOC_MENTION
- Subject = {SocialComment.User.FullName} mentioned you in a comment.
Description When a user is mentioned in a comment, the rule creates a notification to this user. These notifications will then be sent to the user by the Notifications system.
Message -
Version Introduced: 22
Revocable NO

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.