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

Productivity activities

Last updated Mar 13, 2026

Add or Update Word Sensitivity Label

UiPath.Word.Activities.WordAddSensitivityLabel

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
  • Sensitivity label - Select the plus sign on the right side of the field, and then select the string ID or an instance of the IWordLabelObject 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

  • Sensitivity label - The string ID or an instance of the IWordLabelObject to add to the file.

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?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated