Skip to main content

Cherwell: Download Attachment

Description

Use the step to download attachments from Cherwell Business Objects (Forms) on a provided Business Object Rec ID or Public ID. For example, close an incident if it is resolved or to keep a ticket open if not resolved yet.

Configurations

Field nameDescription
Step nameSpecify a unique name for the step.
CONNECTION tab:Connection fields
URLSpecify URL to access Cherwell.
The field is mandatory.
UsernameSpecify the Cherwell username.
The field is mandatory.
Password
Accept value as variable/staticSpecify or select the password, as required.
If the Accept Value as variable/static checkbox is selected, then the password field appears as a text box and accepts static or variable values.
OR
If the Accept Value as variable/static checkbox is clear, then the password field appears as a dropdown in which you can select a field from the previous steps.
Client IDSpecify a Cherwell Client ID. The Client ID is used to communicate with the Cherwell instance.
The field is mandatory.
Note:
CSM Administrator (Orange client) and CSM client (Blue client) tools can be installed for administration and development purposes. Generate a Cherwell client ID from Orange Client using the navigation, CSM Administrator tool → Security → REST API client.
Test ConnectionClick to verify if the connection is available or not. If no values are provided or some values are missing, then it will display the validation error message.
For verification purpose, the fields coming from previous steps are not allowed since field values can only be accessed when workflow is in Running state. Static values and environment variables are allowed.
INPUT tab:Input Fields
Form NameSpecify the Cherwell form name or business object from which the record details will be fetched.
The field is mandatory.
Get FormsClick to populate the forms of the connected Cherwell Server depending on access or permissions of the user. If any required field values are missing, then it will display validation error message.
Select a form to populate the Form Name field.
Business Object Public ID/RecIDSpecify the Cherwell Business Object PublicID or RecID.
The field is mandatory.
Output Folder PathSpecify a folder path where files are to be downloaded or browse for a folder using the Browse File…. Alternatively, when the folder path is coming from an input stream, you may select the field containing the folder path from the drop down list.
Browse FolderClick to browse for a folder to download to a Cherwell Business Object file.
Delete Output Folder Contents before downloadingSpecify Yes to delete the output folder contents before downloading else specify No.
Add Date TimeStamp for Duplicate FilesSpecify Yes to add the Date and TimeStamp for duplicate files, else specify No.
Add File To ResultSpecify Yes to add file to result set and display download link on AE otherwise else select No.
OUTPUT tab:Output Fields
Total FilesSpecify a field name to store the total number of files in the Cherwell Business Object.
The field is mandatory.
Downloaded FilesSpecify a field name to store the number of Downloaded Files.
The field is mandatory.
Overwritten FilesSpecify a field name to store the number of Overwritten Files in the output folder.
The field is mandatory.