activities
latest
false
UiPath logo, featuring letters U and I in white

Workflow Activities

Last updated Feb 19, 2025

Set Task Status

UiPath.Core.Activities.ProcessTracking.SetTaskStatusUiPath.Core.Activities.ProcessTracking.SetTaskStatus

Description

The Set Task Status activity allows you to explicitly control the ending of a specific task within a Process Tracking Scope. It enables accurate representation of individual steps completion in analytics.

The Set Task Status activity is useful when you need to assign a status that differs from the implicit Successful or error-triggered Failed states. This might depend on your workflow-logic.

For instance, in a document processing workflow, a task verifies that all documents exist. If a document is missing, use Set Task Status to mark the status as Cancelled. Follow-up actions could include sending a revision request to the expeditor.

Project compatibility

Windows | Cross-platform

Windows, Cross-Platform Configuration

Task

Mandatory. Specify which task to update. This field identifies the tasks inside the current Process Tracking Scope activity.

Note:
  • In complex workflows with nested Process Tracking Scope activities, referencing the Task for the Set Task Status activity helps to identify which scope, and thus which task, is being updated.
  • The Set Task Status activity automatically identifies and stores the unique ID of the task it is operating within.

Status

Mandatory. Sets the task status to Successful, Failed, or Cancelled. By default, set to Successful.

  • Description
  • Project compatibility
  • Windows, Cross-Platform Configuration

Was this page helpful?

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