itsm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours 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
22m 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