- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2024 04:59 AM - edited 03-05-2024 05:02 AM
Hello,
When Planned Start or End date changes notification should be triggered to Ctask assigned to person. I am trying to achieve this using event trigger and BR on Ctask table, when I give condition planned start or end date changes notification is not getting triggered. Need some inputs.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2024 07:52 AM
Hi @Nikithesh R ,
I got it working 😁,i tried in my pdi , please refer below
Create before update BR on change request table,
(function executeRule(current, previous /*null when async*/ ) {
gs.info('inside br');
var demand = new GlideRecord('change_task');
demand.addQuery('change_request', current.sys_id);
demand.query();
if (demand.next()) {
gs.info('inside if');
gs.eventQueue('test.notify', demand, '', '');
}
})(current, previous);
Event:
Notification:
When event is triggered,
Result:
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2024 05:28 AM
Hi @Nikithesh R ,
You can create notification on change_task table and in condition you can dot walk to change request and check if planned start date or end date changed ,
What it will contain you can add the content in body which you want,
Please check and Mark Helpful and Correct if it really helps you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2024 05:34 AM - edited 03-05-2024 05:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2024 06:42 AM
@Nikithesh R notification is not triggering ? did you check email log ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2024 06:58 AM
Yes I did, checked the email logs. It’s not getting triggered.