How to get data of attachments in flow design?

Sraj1
Giga Contributor

I have a catalog item where end user attach a txt file with some data on it.How can i get access of attachment data's in flow design?

1 ACCEPTED SOLUTION

Hi,

end user when attaches file to catalog during submission it gets attached to the RITM record.

From that you can use the Lookup attachment action and then the custom flow action

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

13 REPLIES 13

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

use this Action:

https://docs.servicenow.com/bundle/paris-servicenow-platform/page/administer/flow-designer/reference...

If I have answered your question, please mark my response as correct and/or helpful.

Thank you very much

Cheers
Alberto

manjusha
Kilo Guru

Hi,

Refer below link 

https://community.servicenow.com/community?id=community_question&sys_id=da1f03e1dbdcdbc01dcaf3231f9619f0

Mark this answer as correct/helpful if this answer helps.

 

Thanks,

Manjusha

Ankur Bawiskar
Tera Patron
Tera Patron

@Sraj 

out of the box there is no Flow action for Get Attachment

Look Up Attachment: This will give the attachment sys_id for the current record

You can then pass this sys_id to newly created Custom Flow Action

1) get the csys_id and then query sys_attachment to read the file content

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Could you please explain more?