how to add Respective RITM link in flow designer email body

Atchamma D
Tera Contributor

HI Experts

 

I have taken one email action in flow designer in body I need to add respective RITM link in which the Current RITM should take

AtchammaD_0-1683021057812.png

AtchammaD_1-1683021110563.png

In this view trigger I have added current RITM URL as like this 

/sp?sys_id=${fd_data.trigger.request_item.sys_id.toString()}&view=sp&id=form&table=sc_req_item

 

But its creating new RITM its not taking current RITM in which mail will trigger

 

Please provide the solution

 

Thanks,

Atchamma D

1 REPLY 1

Community Alums
Not applicable

Hi @Atchamma D ,

Per the docs:

Note: Flow Designer does not support the ${URI} parameter in the email message body. To create a link to a record, use data pills, or create a notification step instead.

 

So yes you can, but you need to manually construct the URL using the data pills as reference

However like the docs suggest, it will probably be easier to use the Send Notification action instead of Send Email.

Docs link: Send Email action 

check this out for the utility for generating link:

https://developer.servicenow.com/connect.do#!/share/contents/6143266_flow_designer_link_generator?v=...

Send Notification action