Attachment variable on flow

SnowDevOps
Giga Guru

Hello team

I have a catalog item related to inventory management. The catalog item includes an attachment variable where users are required to upload a picture of the PC.

The catalog item creates a record in a custom table that contains an Image column for storing the device image. My requirement is to create a record in the custom table and include the uploaded device image.

In Flow Designer, I selected the Image column on the custom table. However, when I click the data pill picker, I do not see many available options to map the attachment to the Image field.

I'm not sure if I am implementing this correctly. Could you please advise on the proper approach for populating the Image field with the uploaded attachment from the catalog item? Thanks for your help 

 

I'm trying to dot walk into add_image variable, i don't know what to pick

SnowDevOps_0-1790712434251.png

 

5 REPLIES 5

Ankur Bawiskar
Tera Patron

@SnowDevOps 

it's not going to work directly

don't use flow for this, you can use business rule for this.

see my blog and enhance it, I am copying to target record but you can add logic for image field

Copying Attachments from a Record Producer's Attachment Variable to a Target Record in ServiceNow 

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

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