- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2022 09:30 AM
We have 2 notifications on the AST_CONTRACT table.
1) Contract approved
2) Contract rejected
These notifications are not triggering an email when a contract is approved or rejected.
I tried to trigger it via an event, based on conditions, but these notifications won't trigger.
Any suggestions will be appreciated.
Thanks,
G
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 05:14 AM
If it is triggered by Record Updation, then Creating an Event won't work.
Everything from your screenshots looks good to me. I hope you have some text in the 'What will it contain' section Subject as well as Email Body, and some user value populated in the 'Created By' field. If either of those are absent, then the notification won't send.
You can also try Previewing Notification.
I hope you are checking the System Logs > Emails module some seconds after updating the Record status to Rejected. Sometimes, the notifications don't get sent immediately.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 05:35 AM
Created by field is not visible on the form but the XML is showing the values. Showing the user's ID. If I add another user reference field then it works.
Does the field have to be visible for it to trigger the notification?
Thanks,
G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 05:56 AM
I don't think so. Perhaps that user is inactive?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 06:38 AM
Created By is a string field. any suggestions on how we can use the OOB field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 08:20 AM
Got it working. 😄
Created a flow to copy the sys_created_by to a custom field.
Then updated the notifications to send to the new custom field
Worked without any issues. Thank you for your assistance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 10:37 AM
Glad to know it worked. But why is created by a string field? Strange lol.