- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2025 04:07 AM
Good afternoon.
How to add the below if action from SubFlow "subflow2" in Flow Actions "act1"? I want that action to be in act1, instead of subflow2, as I want to use message pill, after the Output has come.
Below is the screenshot for act1 Action
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2025 05:19 AM
within Action you can use Send Email but you cannot check if message is empty or not using IF logic.
So please use subflow only
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2025 04:18 AM
you can access the output from action in your subflow
what's your business requirement?
what you want to do with that message stored in action? where you want to use that?
it seems you are storing the JSON parser/REST Step message in that output variable?
at which step is that message variable configured ? Step 2 or Step 3(REST step)
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2025 04:48 AM
Thank you for your reply, Ankur.
My requirement is, when the message from Output comes, I want to send an email notification. How can we do this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2025 04:58 AM
in your subflow use IF logic & see the message output variable from action is empty or not
If not then use Send Email action in your subflow
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2025 05:02 AM
@Ankur Bawiskar, I have already done that. You can see above. Instead of using if condition for email notification in Subflow, I want to use it in Actions itself.
My requirement, is if the message comes as "There are no licenses available on your account.", then an email notification should be sent to the requested for. How can we do this?