R38949 SocialComment - Insert Case Link
| Code | R38949 |
| Entity | Communities.Social.Comments Entity |
| Name | InsertCaseLink |
| Attribute | - |
| Layer | Back-End |
| Events | Commit |
| Priority | Late |
| Modify | YES |
| Action | (1) search in the Comment to match text with the following pattern: Starts with any non-word character (e.g., whitespaces, punctuation marks, new line, etc.) , followed by "case" (case insensitive) , followed by any whitespace character , followed by one or more digits (let's say this is <NUMBER>) , followed by any non-word character (e.g., whitespaces, punctuation marks, new line, etc.) (2) for each match found: Search for a record in Cases for which: Case.Number = <NUMBER> , then generate a relative link for the record found , then insert the relative link in the text of the match: <CASE><" "><NUMBER> |
| Description | The rule inserts links to existing Cases in the comment if it matches a specific pattern, providing quick navigation to the mentioned cases. |
| Message | - |
| Version | Introduced: v.26 |
| Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.