- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Requested Item ${sysapproval} -${wf_activity}- approved
this wf-activity is only working for workflow item notification but for flow its showing empty is their any way we can manage for both workflow and flow notification without creating separate for each
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
is that a notification?
screenshots please
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
is that a notification?
screenshots please
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
if you are using flow then that wf_activity won't come
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @RoshB
This behavior is expected.
${wf_activity} is a Workflow context variable that is populated by the legacy Workflow Editor approval activities.
When the approval is generated through Flow Designer, there is no workflow activity context, so ${wf_activity} resolves to blank/empty
In Flow Designer: Approvals are created by Flow Designer actions (such as Ask for Approval)
Create a Flow Variable (like Approval_Type) under flow.
- Set value:
- "Manager Approval"
- "Finance Approval"
- "CAB Approval"
- Include that value in the email subject/body.
e.g
Requested Item ${number} - ${Approval_Type} - approved
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti