The Get Attachment action retrieves one or more attachments associated with a selected record. The retrieved attachment can be used in subsequent steps of the integration flow, such as uploading it to another application.

Configure Attachment
Configure the Get Attachment action by specifying the record identifier and the attachment details to retrieve. The retrieved attachment is available as output for use in subsequent workflow activities.
To create an APEX Get Attachment, perform the following steps:
Click
(Add Step) and navigate to Apps > APEX > Get Attachment.
The APEX Get Attachment App Action page is displayed.
Figure: APEX Get Attachment ActionEnter the required information in the following sections, as described in the table below, and click Save Changes.
Connection
The Apex Connection enables the Integration Platform to securely communicate with the Apex application. Once configured, the connection can be selected and reused across multiple integration flows and Apex connector actions.
Figure: ConnectionSelect the required connection from the list. The list displays all connections configured on the Connections page.
Inputs
Inputs define the values required to execute the selected connector action. You can enter static values or map outputs from previous steps in the integration flow.

Enter the required details as described in the following table.Field
Description
Table
Select the Incident or Service Request table to perform the selected action. Currently, only these tables are supported by the Apex connector. Based on the selected table, you can selected the instance code from the list.
Ticket No
Specifies the ticket number of the record from which the attachment is retrieved.
File Name
Specify the name of the attachment to retrieve. You can enter a static value or map it from a previous step.
Content Type
Specifies the MIME type of the attachment (for example, application/pdf or image/jpeg). This field is optional.
Base64-Content
Specifies the attachment content encoded in Base64 format.
Test & outputs
Use the Test option to validate the connector configuration before deploying the integration flow. The test executes the configured action using the specified inputs and displays the execution result.

Click Run Test to execute the configured action and verify the connector configuration.