Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Virtual agentで取得したメールアドレス宛に、SubflowのSend Notificationで通知を送る方法

Soki Ando
Tera Contributor

Virtual agentで顧客情報を取得しレコードを作成すると、それをトリガーにFlowを走らせる設定を行っています。

そのFlowの中に数件のSubflowを入れるのですが、Virtual agentで取得したメールアドレス宛に通知を送るActionを設定したいと考えています。

 

「Get Catalog Variables」のActionでフォームの変数からメールアドレスを取得可能→「Send Notification」でテンプレートのメールを送る という流れになると思うのですが、NotificationsのEmailテンプレートの宛先に変数のスクリプトを設定する箇所が見受けられず設定できずにおります。

方法をご存じの方がいらっしゃいましたらご教示いただけますでしょうか。

1件の返信1

iwai
Giga Sage

Event の Parameterを使ったNotificationで通知するのはどうでしょうか。

WashingtonDC Version以降の Flow Designerで、Fire Event Action Stepが使えるようになっています。

Eventの ParameterにEmailAddressを渡して、EventTriggerのNotificationで、Parameterの宛先にメール送信する。

Fire Event Action
https://docs.servicenow.com/csh?topicname=fire-event-action.html&version=latest

Notification
https://docs.servicenow.com/csh?topicname=t_CreateANotification.html&version=latest