Get Task Attachments
UiPath.Oracle.IntegrationCloud.Process.Activities.GetTaskAttachmentsActivity
The Get Task Attachments activity uses the Oracle Integration Retrieve Task Attachments API to retrieve a list of the attachments associated with the specified task (Task 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 task identifier (e.g., Get Tasks).
- Add the Get Task Attachments activity inside the Oracle Process Scope activity.
- Enter a value for the Input property.
- Create and enter a
DataTablevariable andStringvariables for the Output properties. - Run the activity.
-
Your input property value is sent to the Retrieve Task Attachments 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
- Task Id - The identifier assigned to the task that you want to retrieve attachments from. Enter a
StringorStringvariable. To get the Task Id value, add an activity or run an external process that outputs the process identifier (e.g., Get Tasks).
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 task. Enter a
DataTablevariable. The table below shows the process details included in theDataTableobject. - 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.
