How to create Email notification previous priority and present priority for task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2022 08:43 AM
For Priority it should show if its raised or lowered depending on the previous task state.
for example:
SCTASK# followed by Task short description
“Priority raised to:” or “Priority lowered to:” followed by the Priority as shown above
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 04:04 AM
Hello Shyam,
Do you know anything about this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2023 11:31 PM
Hello @Renu4 ,
Sorry for the delay, can I please have screen snaps to understand this and your expectation on the Requirement
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2023 11:55 PM
Hello Shyam,
Thank you for your response.
Well i am trying to display old priority and new priority in email template when priority is changed in incident.But i am getting Sysid instead of old priority munber.
i have attached all the screen shots kindly guide me.
Regards,
Renu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2023 06:16 AM
Hi @Renu4 ,
Here is the Solution , Tried in my PDI and works fine
1. Create an String field say as - Previous state
2. Hide this from Form view, (better to write an UI policy to hide completely )
3. Write an BR to store the Previous Priority into the newly created field
BR - Before Insert/update
Condition - Priority changes
current.u_previous_priority=previous.priority;
Now in the Email Script amend the Script as below
template.print("The Priority of this catalog Task has been changed from Priority:" + current.u_previous_priority + " to Priority:" + current.priority);
implement this and let me know if you see any Issues
Regards,
Shyamkumar
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2023 09:45 PM
Hello Shyam,
Thank you so much this worked absolutely fine.
Is there a way that i can keep the priority fonts bold?
i mean can i bring in bold tag or strong tag in here:
template.print("The Priority of this catalog Task has been changed from Priority:" + current.u_previous_priority + " to Priority:" + current.priority);