Use the String component
task brazil Updated Sep 10, 2026 1 min read use-utilities-random-string.md
Generate a random string by using the String component in RPA Desktop Design Studio.
Before you begin
Role required: none
About this task
You can configure the properties for the String component. For more information about these properties, see Properties of the Random components.
Procedure
-
In the Toolbox pane, navigate to Utilities > Random.
-
Drag the String component to the Design surface.
-
Connect the data and control ports of the String component to the corresponding ports of the other components as described in the following table.
Port type Purpose of connection Mandatory? Data In (Size) Takes the length of the string from a previously executed component. Yes Data Out Returns the random string and passes to the next component. Yes Control In Connects to the Control Out port of one or more components. Yes Control Out Connects to the Control In port of another component or the default end component. Yes -
To test the component, under the DESIGN tab, click Run.
Parent Topic:Random
45 lines · 1.9 KB
---
title: Use the String component
description: Generate a random string by using the String component in RPA Desktop Design Studio.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/integrate-applications/use-utilities-random-string.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 String component
Generate a random string by using the String component in RPA Desktop Design Studio.
## Before you begin
Role required: none
## About this task
You can configure the properties for the String component. For more information about these properties, 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 String component to the Design surface.
3. Connect the data and control ports of the String component to the corresponding ports of the other components as described in the following table.
|Port type|Purpose of connection|Mandatory?|
|---------|---------------------|----------|
|Data In \(Size\)|Takes the length of the string from a previously executed component.|Yes|
|Data Out|Returns the random string and passes to the next component.|Yes|
|Control In|Connects to the Control Out port of one or more components.|Yes|
|Control Out|Connects to the Control In port of another component or the default end component.|Yes|
4. To test the component, under the **DESIGN** tab, click **Run**.
**Parent Topic:**[Random](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/integrate-applications/random.md)
| title | Use the String component |
| description | Generate a random string by using the String component in RPA Desktop Design Studio. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/integrate-applications/use-utilities-random-string.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 |