activities
latest
false
Classic Integrations Activities
Last updated Sep 25, 2024

Get Tasks

UiPath.Oracle.IntegrationCloud.Process.Activities.GetAllTasksActivity

Using your filter parameters (Assigned, Process Name, and Status), the Get Tasks activity calls the Oracle Integration Retrieve Task List API to get the tasks associated with your specified process.

After completing the get operation, the activity outputs the applicable tasks in a DataTable object (Tasks) 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.

  1. Complete the Setup steps.
  2. Add the Oracle Process Scope activity to your project.
  3. Add the Get Tasks activity inside the Oracle Process Scope activity.
  4. Enter values for the Filters input properties.
  5. Create and enter a DataTable variable and String variables for the Output properties.
  6. Run the activity.

    • Your input properties are sent to the Retrieve Task List API.
    • The API returns the DataTable and String values to your output property variables.


Properties

Common
  • DisplayName - The display name of the activity. This field supports only Strings or String variables.
Filters
  • Assigned - Filters the processes according to the user assignments. Select an item from the drop-down list. There are 3 options:

    • ADMIN - Returns all tasks without a filter.
    • ALL - Returns all tasks.
    • PREVIOUS - Returns tasks that were previously updated by you.
  • Process Name - The name of the process that you want to retrieve tasks from. Enter a String or String variable.
  • Status - The current status of the tasks that you want to retrieve. Select an item from the drop-down list. There are 2 options: Assigned and Completed.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output
  • Has More Records - A boolean value that informs you when there are more records than the amount specified in the Limit property. Enter a Boolean variable
  • Tasks - The tasks that match your filter property values. Enter a DataTable variable.
    • The DataTable includes a Id column that contains the Int32 value you can use as an input variable in subsequent activities (e.g., Add Task Comment, Get Task Attachments).
    • For example, to create a Int32 variable for the Task Id, you can use an Assign activity with the following Value: Int32.Parse(tasks.Rows(0).Item("Id").ToString) ("tasks" is the DataTable variable that you create for this property) or Int32.Pase(row("Id").ToString) in a For Each Row activity (see the example below).
  • 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.
Pagination
  • Limit - The maximum amount of tasks that you want to retrieve. Enter a Int32 or Int 32 variable.
  • Offset - Offset value of the response. Enter a Int32 or Int32variable.

Example

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



  • How it works
  • Properties
  • Example

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.