# Action Task

> `UiPath.Oracle.IntegrationCloud.Process.Activities.ActionTaskActivity`

`UiPath.Oracle.IntegrationCloud.Process.Activities.ActionTaskActivity`

The **Action Task** activity uses the Oracle Integration [Perform Action on a Task](https://docs.oracle.com/en/cloud/paas/integration-cloud/rest-api/op-ic-api-process-v1-tasks-id-put.html) API to perform a selected action (**Action**) to update a specific task (**Task Id**).

After completing the put operation, the activity outputs 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.

1. Complete the [Setup](https://docs.uipath.com/activities/other/latest/legacy-integrations/oracle-integration-cloud-process-setup) steps.
2. Add the [Oracle Process Scope](https://docs.uipath.com/activities/other/latest/legacy-integrations/oracle-integration-cloud-process-oracle-process-scope) activity to your project.
3. Add an activity or run an external process that outputs the task identifier (e.g., [Get Tasks](https://docs.uipath.com/activities/other/latest/legacy-integrations/oracle-integration-cloud-process-get-tasks)).
4. Add the **Action Task** activity inside the **Oracle Process Scope** activity.
5. Enter values for the **Input** properties.
6. Create and enter `String` variables for the **Output** properties.
7. Run the activity.
   * Your input properties are sent to the [Perform Action on a Task](https://docs.oracle.com/en/cloud/paas/integration-cloud/rest-api/op-ic-api-process-v1-tasks-id-put.html) API.
   * The API returns the `String` values to your output property variables.

     ![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/legacy-integrations-docs-image-178576-d929541a-7467b6ed.webp)

## Properties

### Common

* **DisplayName** - The display name of the activity. This field supports only `Strings` or `String` variables.

### Input

* **Task Id** - The identifier assigned to the task that you want to update. Enter a `String` or `String` variable. To get the **Task Id** value, add an activity or run an external process that outputs the task identifier (e.g., [Get Tasks](https://docs.uipath.com/activities/other/latest/legacy-integrations/oracle-integration-cloud-process-get-task)).
* **Action** - The action that you want to take to update the specified task. Enter a `String` or `String` variable.
  + Enter your value according to your defined Oracle approval pattern. For example, to approve a task, enter "APPROVE" or to submit a task, enter "SUBMIT".
  + For more information about approval patterns and potential values, see [Define an Approval Pattern](https://docs.oracle.com/en/cloud/paas/integration-cloud/user-processes/configure-human-tasks.html#%20GUID-2B63D283-620E-44B4-B12A-D78FCDFD9AFF) in the Oracle documentation.
* **Comment** - The comment that you want to associate with the task update. Enter a `String` or `String` variable.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Output

* **Response Message** - The API response message. Enter a `String` variable
* **Status** - The status of the request. Enter a `String` variable. Possible values are *Success* or *Failure*.

## Example

The following image shows an example of the activity dependency relationship and input/output property values.

  ![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/legacy-integrations-docs-image-186902-d3685370-4d8ec3a4.webp)
