Project Task insertion notification not triggering
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2024 11:03 AM - edited 09-23-2024 04:41 AM
I wanted to send notification to the Project manager whenever Project task is inserted after applying Template. I created a notification, running on Project Task level, where I checked the "Inserted" checkbox without any condition. But this is not triggering at all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2024 01:48 PM
Hi Sam,
When templates are used on form, it may apply multiple field changes at once. This bulk update may suppress notifications.
To verify, maybe create an Insert Business Rule on same table, and use advanced for script “gs.log(‘Its inserted’). This helps in validating the template + insert synchronisation.
In case BR log is visible, then we can try triggering event from BR. Create an Event and use same BR script as gs.eventQueue('project.task.inserted', current, current.assigned_to, current.project_manager);//whoever you are sending
Use this new event in Notification by changing type from Trigger to Event. Happy learning!
If my response proves useful, please mark it "Accept as Solution" and "Helpful". This action benefits both the community and me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2024 11:41 PM
Hi Akash,
Thanks for the suggestion! I created the insert business rule as you advised, but it doesn't seem to be triggering as the log isn't visible either. It seems like the bulk update from the template might be affecting the insert trigger. Do you have any ideas on how I could troubleshoot this further or perhaps an alternative approach to ensure that the notification gets triggered after the template is applied?
Appreciate your help!