Skip to main content
Kinetic Community

Remedy Generic File Upload From Url

Overview

Attaches a file retrieved from a url to either an existing or new Remedy record.

Downloads

By downloading this file, you acknowledge that you agree to our Terms of Service

remedy_generic_file_upload_from_url_v1.zip

Detailed Description

The handler starts with downloading the attachment located at the url providedin the Attachment Url parameter. That file is then used to create an Ars Models Attachment Field Value, which will be passed along with the database name of the field provided in the Field Name parameter. If a Request Id is passed, the handler updates the form in the Form Name parameter entry with the id (field 1) provided. If no Request Id parameter is passed, the handler attempts to create a new entry in the form provided in Form Name.

Parameters

Name Description
Request Id If a request id is supplied, the file will be attached to the specified record.
Form Name The name of the form to upload to.
Field Name The name of the field to upload to.
Attachment Url The url where the file is stored.
Attachment Name The name of the attachment.
Raise Errors If true, errors will be raised like normal and the tree will stop processing. If false, the error will be included in the results but the tree will continue processing.

Sample Configuration

Parameter Example Configuration
Request Id 000000000000135
Form Name KS_Remedy_Form
Field Name Attachment 1
Attachment Url https://example.com/attachment/file_1
Attachment Name sample_picture.png
Raise Errors true

Results

Name Description
Success If Raise Errors is set to false, this field will return true if the handler encountered any errors
Error Message If Raise Errors is set to false, this field will return the error message if an error was encountered
Submission Id The Submission Id for the Record the item was attached to

Change Log

Version Date Description
1 2016-03-21 Initial Version