R39022 SocialReactions - Update Group LastInteractionTime
| Name | Value |
|---|---|
| Code | R39022 |
| Entity | Communities.Social.Reactions Entity |
| Name | UpdateGroupLastInteractionTime |
| Attribute | - |
| Layer | Back-End |
| Events | Committed |
| Record State | Inserted |
| Priority | Normal |
| Modify | YES |
| Action | IF DataObject.EntityType == Cmm_Social_Groups , then SET Group.LastInteractionTimeUtc = NOW(UTC) WHERE Group.Id = DataObject.EntityItemId |
| Description | When a Reaction to a Comment is recorded, the current time in UTC is set in the LastInteractionTimeUtc field of that Group. No update on change of reaction and/or deletion. |
| Introduced | v. 26 |
| Revocable | NO |