---
sourceDocument: Yokohama Data and Automation
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/integrate-applications

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Data and Automation

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Use the Password component

# Use the Password component {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

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.
{#use-utilities-random-password__ul_wmk_qkn_ytb}

To configure the properties for the Password component, see [Properties of the Random components](https://www.servicenow.com/docs/EJFTBnAK2VfXrXnIv06Knw "Learn about the properties of the Random components in RPA Desktop Design Studio.").

## Procedure

1. In the Toolbox pane, navigate to UtilitiesRandom.
2. Drag the Password component to the Design surface.
3. To provide the inputs to the fields, see [Configure port properties](https://www.servicenow.com/docs/d92L75lHSFmmidzeOPPgTw "Configure how data is passed to the input fields of a component or method in RPA Desktop Design Studio.").
4. **Optional:** Connect the data and control ports of the Password component to the corresponding ports of the other components as described in the following table.  
   {#use-utilities-random-password__table_znq_lgn_ytb__entry__6}

   | 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 |
   [ ]

   {#use-utilities-random-password__table_znq_lgn_ytb}
5. **Optional:** To test the component, right-click the component bar and then click Run From Here.

*[\>]: and then


