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 name | Description |
---|---|
Step name | Specify a unique name for the step. |
CONNECTION tab: | Connection fields |
URL | Specify URL to access Cherwell. The field is mandatory. |
Username | Specify the Cherwell username. The field is mandatory. |
Password | |
Accept value as variable/static | Specify 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 ID | Specify 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 Connection | Click 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 Name | Specify the Cherwell form name or business object from which the record details will be fetched. The field is mandatory. |
Get Forms | Click 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/RecID | Specify the Cherwell Business Object PublicID or RecID. The field is mandatory. |
Output Folder Path | Specify 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 Folder | Click to browse for a folder to download to a Cherwell Business Object file. |
Delete Output Folder Contents before downloading | Specify Yes to delete the output folder contents before downloading else specify No. |
Add Date TimeStamp for Duplicate Files | Specify Yes to add the Date and TimeStamp for duplicate files, else specify No. |
Add File To Result | Specify Yes to add file to result set and display download link on AE otherwise else select No. |
OUTPUT tab: | Output Fields |
Total Files | Specify a field name to store the total number of files in the Cherwell Business Object. The field is mandatory. |
Downloaded Files | Specify a field name to store the number of Downloaded Files. The field is mandatory. |
Overwritten Files | Specify a field name to store the number of Overwritten Files in the output folder. The field is mandatory. |