I want to use flow variables in flow trigger notification records

bonsai
Mega Sage

We plan to store the values processed within the flow in flow variables.

I am planning to create a notification record with the "Send Notification" action.
Can flow variables be used in notification records?

1 ACCEPTED SOLUTION

It's not possible to use flow variables in send notification but instead you can use 'Send Email' action.

 

Also If your notification is on ritm/ctask table then you can get the variables details from notification script and include it in your notification.


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

View solution in original post

4 REPLIES 4

Voona Rohila
Kilo Patron
Kilo Patron

Hi @bonsai 

The notification which you want to trigger is on which table? Can you explain in detail of your requirement.

 

 

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

I want to verify whether it is possible or not, so a table is appropriate.

I don't want to use the values associated with the table, but I want to use the values of flow variables created within the flow.

Kihi

It's not possible to use flow variables in send notification but instead you can use 'Send Email' action.

 

Also If your notification is on ritm/ctask table then you can get the variables details from notification script and include it in your notification.


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

ConradJ
Tera Contributor

It doesnt seem possible to use flow variables in send notification.

 

The "Send Email" action can be a maintenance issue if you are using templates and email scripts. In this case you can use "Fire Event" to call the notification and use Param2 to get the data from a Flow Variable to pass to the notification,

Create event:

ConradJ_0-1739440539116.png

Create notification:

ConradJ_1-1739440602605.png

ConradJ_2-1739440639235.png

Set Flow Variables:

ConradJ_3-1739440690782.png

Fire Event to trigger the notification:

ConradJ_4-1739440759991.png

Hope this helps.