Servicenow Certified System Administrator CSA · Free Practice Question Medium
Question 36
How do you ensure the uploaded attachments to a catalogue item attachment variable are deleted from the system if and when they are replaced/deleted on the form?
-
A
Running a background script after each request submission.
-
B
Searching for the file names in the
sys_attachmenttable manually. -
C
Setting the ‘
glide.sc.variable.attachment.delete.v2’ system property to true. -
D
Utilising Table cleaner to delete unwanted attachments automatically.
-
E
Storing the attachments on a remote table before request fulfilment.
Reveal correct answer
Correct answer: C
Explanation
The glide.sc.variable.attachment.delete.v2 system property enables you to automatically delete a sys_attachment record from the system when you replace or delete an attachment from a catalogue item attachment variable. The default value is true.
By enabling this system property, you can make sure that the attachments uploaded to the attachment variable are deleted from the system if and when they are replaced/deleted on the form
Screenshot: The ‘glide.sc.variable.attachment.delete.v2’ system property record
Learn more here!
Learning Domain: Self-Service & Automation - Service Catalogue
First introduced: Tokyo release
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
