Skip to content

Commit 184b1af

Browse files
authored
Create README.md
1 parent 4b43ae4 commit 184b1af

File tree

1 file changed

+20
-0
lines changed
  • Server-Side Components/Business Rules/Synchronize RITM comments to Active tasks

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
This is an Async Update Business rule written on the Requested Item table.
2+
This code works as a comment synchronization mechanism.
3+
4+
What the code does:
5+
-Comment is added to the parent record(which in this case is a Requested Item)
6+
-Creates an HTML link to the parent record using its number.
7+
-Queries and finds all active SCTASKs associated with the Reuqested item.
8+
-Loops through each SCTASK, adds the copied comment along with a link to the Requested Item.
9+
10+
Let's explain with an example:
11+
12+
RITM: RITM001001
13+
Task 1: SCTASK001001
14+
Task 2: SCTASK001002
15+
-User adds new comment into the RITM: 'This is a test comment.'
16+
-Record link is created and stored inside a clickable RITM number.
17+
-The RITM comment is updated on both the SCTASKs with the comment looking like:
18+
19+
Updated comments on: [RITM001001]
20+
This is a test comment.

0 commit comments

Comments
 (0)