Need to send an email notification on weekly basis to remind project complete date to PM?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 09:23 PM - edited 01-04-2024 12:16 AM
Hi All,
Actually i have requirement that need an email notification to be sent to me on project complete date to the project manager on weekly basis untill all stories marks as complete
And Email notification to include link to agile board
I have idea that create a schedule job in that
1. need to check that project end date
2. if end date not completed then need to check if stories are complete or not
3. if stories are still not complete then we need to trigger an event
These are the steps to follow, so i need schedule script to achieve this?
Please help me to achieve this
Thanks
Deepika

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 07:15 AM
So where is the debugging you performed?
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 04:34 AM
Unfortunately I cannot test your code since I don't have customer_project. Though just looking at your code, what looks odd to me:
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 04:49 AM
"story.project? Shouldn't this be projectEnd.project or something? '
I have tried this as well, but not working
you can test with "pm_project " Instead of my table, and provide me the changes where did i goes wrong
Thanks
Deepika

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 07:17 AM
Also again, story.addEncodedQuery('project', story.project.toString()); looks odd.
story is the GlideRecord query to rm_story. So how can you than query story.project, that's not possible.
So what value should project be, come from, etcetera? What is your logic for this, if you try to explain it in words.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 07:18 AM
Or goto the rm_story table, and from the list create your filter. There copy the breadcrumb, and paste it here. That way we also see the logic that you are after.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field