Get Attachments on record Action is not working

Anandini
Tera Expert

Hi,
I’ve created a custom table named u_cg_legal_request. In my Flow Designer flow, I’m using the ‘Get Attachments on Record’ action to retrieve attachments from records in this table. However, the action is consistently returning a count of 0 attachments, even though the record definitely has files attached.

This issue seems to happen only for this custom table. It works fine for standard tables like incident.

Is there something specific I need to configure for the custom table to make this action work? Any help or insights would be appreciated.

Thanks!

 

Anandini_0-1746456255991.png

 

Anandini_1-1746456308387.png

 

Anandini_2-1746456399263.png

 

1 ACCEPTED SOLUTION

Aditya02
Tera Guru

Hello @Anandini ,

 

File name Data type: String

Search string containing a partial or entire file name of an attachment file. You can use this input as a query filter to find one or more attachments that have the listed file name. If you leave this input empty, the action returns all attachments associated with the source record.

Here, Check weather the file exists or not with the name you are giving. I think there is no file exist with that name thats why It was returning as zero. If you want all the attachment to retrieve You have to left as empty.

 

You can refer this article: Get Attachments on Record Action 

 

If My suggestion helps to get out of this issue, please mark it as the answer and hit the thumbs-up to help others find it too!

 

Thanks & Regards,

Aditya

 

View solution in original post

11 REPLIES 11

Aditya02
Tera Guru

Hello @Anandini ,

 

File name Data type: String

Search string containing a partial or entire file name of an attachment file. You can use this input as a query filter to find one or more attachments that have the listed file name. If you leave this input empty, the action returns all attachments associated with the source record.

Here, Check weather the file exists or not with the name you are giving. I think there is no file exist with that name thats why It was returning as zero. If you want all the attachment to retrieve You have to left as empty.

 

You can refer this article: Get Attachments on Record Action 

 

If My suggestion helps to get out of this issue, please mark it as the answer and hit the thumbs-up to help others find it too!

 

Thanks & Regards,

Aditya

 

hello @Aditya02 ,

 

Thanks for letting to solve my issue. I thought we have to give our own name. Now its working fine.