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

Productivity Activities

Last updated Dec 18, 2024

Add or Update Excel Sensitivity Label

UiPath.Excel.Activities.Business.AddSensitivityLabelX

Adds or updates a sensitivity label of the selected file.

For more information, refer to Working with sensitivity labels.

Configuring the Activity

In the Body of the Activity
  • Workbook - Select the plus sign on the right side of the field, and then select the file on which to add or update the sensitivity label. Alternatively, you can enter a VB expression.
  • Sensitivity label - Select the plus sign on the right side of the field, and then select the string ID or an instance of the IExcelLabelObject to add to the file. Alternatively, you can enter a VB expression.
Properties Panel

Common

  • DisplayName - The name displayed for the activity in the Designer panel.

Input

  • Justification - The justification to use when applying the sensitivity label.
  • Sensitivity label - The string ID or an instance of the IExcelLabelObject to add to the file.
  • Workbook - The workbook from which to retrieve the sensitivity label.

Misc

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

There is a known limitation where a COM error occurs when an automation attempts to update a file without a required sensitivity label, as mandated by company policy.

  • Configuring the Activity

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.