In few organisations, certain IP Ranges are refrained from creating requests with attachments.
Steps to configure:
Goto Admin > Developer Space > Request Custom Functions > Global function > New > Paste the content from the attachment GF_4 - Configuration.txt and save it with a name.
Update the URL and integration key in the script.
You can get the integration key under Admin > Integrations > Integration Key > New
Please use an integration key with admin privilege, as there wont be any role related permission issues.
Update the integration key in the global function.
Go to Admin > Developer Space > Request Custom Functions > Custom Actions > Paste the content from the blockattachmentsFromIP_range.txt and save it with a name.
Modify the global function name and the IP Address list in the script.