- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2024 05:55 PM
Hello,
The following info. message were triggered when a RITM gets approved or rejected. Could someone please let me know what is the name of the object that fired those messages. This is for educational purposes. Thank you
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2024 06:53 PM
Hi,
That is triggered by the approval record on the sysapproval_approver table.
When a approval record is approved or rejected, it'll call a script include called: ApprovalUserFeedback.
Inside that script include, you'll see all the various infoMessages that are triggered.
Example:
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2024 06:53 PM
Hi,
That is triggered by the approval record on the sysapproval_approver table.
When a approval record is approved or rejected, it'll call a script include called: ApprovalUserFeedback.
Inside that script include, you'll see all the various infoMessages that are triggered.
Example:
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2024 11:48 PM
Hello @Allen Andreas
Thank you for replying. You mentioned it's triggered by the approval record on the sysapproval_approver table. However, I'm still unsure about the specific trigger mechanism. Is it implemented through Business Rules, Client Scripts, or another named component that calls a script include? I would like to reference it for a clearer understanding.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 07:26 AM
Hi @Annie10
My apologies, I thought I mentioned it previously, but when you approve or reject it using the UI Actions (buttons), that is what calls the script include, thus resulting in that message:
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 10:37 AM
Hello @Allen Andreas
We have frequently referred to your resolved threads from the community to address our own challenges, and I'm sure other community users, including our team, are grateful for the knowledgeable programmer like you who share their experiences. It's a big help to our community. Thank you so much.
Today, I learned something new: the ability to utilize a UI Action to invoke a script include. This got me thinking, and I would like to clarify the following things:
1. For instance, let's consider a scenario where a record in the approval table changes to "rejected."
2. It updated the record:
3. Then it triggered the script include named "ApprovalUserFeedback"?
Within this script include, the function "rejected(current)" is called, passing in the current record? I'm assuming it is passing the current RITM sys ID
I would appreciate any corrections or additional information you can provide.