Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Redirect url after click add in file attachment field

Lucas19
Tera Expert

Hi community, I’m having a url redirection issue after clicking the "OK" button when inserting an attachment. 

Lucas19_0-1713294372459.png

servicenow redirects me to the sys_attachment table instead of redirecting me to the current record. 
Does anyone know why this happens and how can I correct?

1 ACCEPTED SOLUTION

The problem was solved by creating a DELETE ACL, using the main record table as a table_name in the ACL conditions running in the sys_attachment table.

View solution in original post

7 REPLIES 7

@James Chun  this operation is on sys_attachment table, however file_attachment appearing in the link above, is kind of item that appearing when click add(previous screenshot).

@Lucas19,

 

Sorry, what do you mean that it's on the [sys_attachment] table?

I thought you had a 'file attachment' type field on a different table such as an [incident].

Is this not correct?

The problem was solved by creating a DELETE ACL, using the main record table as a table_name in the ACL conditions running in the sys_attachment table.