Flow Designer - Trigger Condition, add Attachment Table

patbishop
Mega Guru

Is there a way to make other tables available in the Flow Designer?   I would like to set a trigger condition to run when a table has data that's been Created/Updated, however, the table in question is not available in the Table select list.

Table: sys_attachment

I would like to perform an e-bond between instances any time an attachment is added to an already bonded Incident or Change Request. I saw that pre-Kingston, others had done this with a REST call, but I was just hoping I could utilize the Flow Designer.

1 ACCEPTED SOLUTION

JuellSolaegui
ServiceNow Employee
ServiceNow Employee

To make the sys_attachment table available in scope on the ui and in flow designer add it to the comma separated list on the property glide.ui.permitted_tables.  

View solution in original post

3 REPLIES 3

JuellSolaegui
ServiceNow Employee
ServiceNow Employee

To make the sys_attachment table available in scope on the ui and in flow designer add it to the comma separated list on the property glide.ui.permitted_tables.  

greg_faber
ServiceNow Employee
ServiceNow Employee

Juell beat me to it, came here to update your post for future reference.

 

rebecca_dias
ServiceNow Employee
ServiceNow Employee

Hey Everyone, 

 

Glad you figured this one out. It comes up a lot!

Friendly tip on the topic of attachments:  Just be aware that you shouldn't use Create Record, Delete Record, etc. on attachments. They are special record types. We are providing OOB Actions for Attachment manipulation in Madrid. In the meantime, you should make sure if you have to mess with attachments, that you drop into script in the Action Designer and use the APIs.

 

tx

- becky