Get Process Instance Attachments
UiPath.Oracle.IntegrationCloud.Process.Activities.GetProcessInstanceAttachmentsActivity
The Get Process Instance Attachments activity uses the Oracle Integration Retrieve Attachment List API to retrieve a list of the attachments associated with the specified process (Process Id).
After completing the get operation, the activity outputs the attachment details in a DataTable object (Attachments) along with the API call status (Status) and response message (Response Message).
How it works
The following steps and message sequence diagram is an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.
- Complete the Setup steps.
- Add the Oracle Process Scope activity to your project.
- Add an activity or run an external process that outputs the process identifier (e.g., Start Process, ).
- Add the Get Process Instance Attachments activity inside the Oracle Process Scope activity.
- Enter values for the Input properties.
- Create and enter a
DataTablevariable andStringvariables for the Output properties. - Run the activity.
-
Your input properties are sent to the Retrieve Attachment List API.
-
The API returns the
DataTableandStringvalues to your output property variables.
-
Properties
Common
- DisplayName - The display name of the activity. This field supports only
StringsorStringvariables.
Input
- Process Instance Id - The identifier assigned to the process that you want to retrieve. Enter a
StringorStringvariable. To get the Process Id value, add an activity or run an external process that outputs the process identifier (e.g., Start Process, ).
Misc
- Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output
- Attachments - The list of attachments associated with the specified process. Enter a
DataTablevariable. - Response Message - The API response message. Enter a
Stringvariable. - Status - The status of the request. Enter a
Stringvariable. Possible values are Success or Failure.
Example
The following image shows an example of the activity dependency relationship and input/output property values.
