Use the Password component
task brazil Updated Sep 10, 2026 1 min read use-utilities-random-password.md
Generate any random password by using the Password component in RPA Desktop Design Studio.
Before you begin
Role required: none
About this task
You can define the complexity of the password based on the following rules:
- Define the length of the password. 11 is the default length.
- Number of lowercase characters. The default number is 1.
- Number of uppercase characters. The default number is 1.
- Symbols. The default symbols are "~!@#$%^&*()_-+=;?\/"
- Number of symbols: The default count is 1.
- Numbers. The default number is 1.
To configure the properties for the Password component, see Properties of the Random components.
Procedure
-
In the Toolbox pane, navigate to Utilities > Random.
-
Drag the Password component to the Design surface.
-
To provide the inputs to the fields, see Configure port properties.
-
Connect the data and control ports of the Password component to the corresponding ports of the other components as described in the following table.
Port type Port name Data type Purpose of connection Default value Mandatory? Data In Length Integer Takes the length of the password. 11 Yes Data In Lowercase Integer Takes the number of lowercase characters to be included in the password. 1 Yes Data In Uppercase Integer Takes the number of uppercase characters to be included in the password. 1 Yes Data In Symbols String Takes the symbols to be included in the password. ~!@#$%^&*()_-+=;?\/ Yes Data In SymbolsCount Integer Takes the count of symbols to be included in the password. 1 Yes Data In Numbers Integer Takes the total count of numbers to be included in the password. 1 Yes Data Out Return String Returns the random password. Not applicable Not applicable -
To test the component, right-click the component bar and then click Run From Here.
Parent Topic:Random
59 lines · 2.9 KB
---
title: Use the Password component
description: Generate any random password by using the Password component in RPA Desktop Design Studio.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/integrate-applications/use-utilities-random-password.html
release: brazil
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Random, Utilities, Automation components, RPA Desktop Design Studio, Robotic Process Automation \(RPA\) Hub, Workflow Data Fabric]
---
# Use the Password component
Generate any random password by using the Password component in RPA Desktop Design Studio.
## Before you begin
Role required: none
## About this task
You can define the complexity of the password based on the following rules:
- Define the length of the password. 11 is the default length.
- Number of lowercase characters. The default number is 1.
- Number of uppercase characters. The default number is 1.
- Symbols. The default symbols are "~!@\#$%^&\*\(\)\_-+=;?\\/"
- Number of symbols: The default count is 1.
- Numbers. The default number is 1.
To configure the properties for the Password component, see [Properties of the Random components](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/integrate-applications/properties-random-component.md).
## Procedure
1. In the Toolbox pane, navigate to **Utilities** > **Random**.
2. Drag the Password component to the Design surface.
3. To provide the inputs to the fields, see [Configure port properties](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/integrate-applications/configure-input-port-properties.md).
4. Connect the data and control ports of the Password component to the corresponding ports of the other components as described in the following table.
|Port type|Port name|Data type|Purpose of connection|Default value|Mandatory?|
|---------|---------|---------|---------------------|-------------|----------|
|Data In|Length|Integer|Takes the length of the password.|11|Yes|
|Data In|Lowercase|Integer|Takes the number of lowercase characters to be included in the password.|1|Yes|
|Data In|Uppercase|Integer|Takes the number of uppercase characters to be included in the password.|1|Yes|
|Data In|Symbols|String|Takes the symbols to be included in the password.|~!@\#$%^&\*\(\)\_-+=;?\\/|Yes|
|Data In|SymbolsCount|Integer|Takes the count of symbols to be included in the password.|1|Yes|
|Data In|Numbers|Integer|Takes the total count of numbers to be included in the password.|1|Yes|
|Data Out|Return|String|Returns the random password.|Not applicable|Not applicable|
5. To test the component, right-click the component bar and then click **Run From Here**.
**Parent Topic:**[Random](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/integrate-applications/random.md)
| title | Use the Password component |
| description | Generate any random password by using the Password component in RPA Desktop Design Studio. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/integrate-applications/use-utilities-random-password.html |
| release | brazil |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | RandomUtilitiesAutomation componentsRPA Desktop Design StudioRobotic Process Automation \(RPA\) HubWorkflow Data Fabric |