---
title: "ID Generation"
slug: "id-generation"
description: "This document demonstrates how to generate unique IDs for Process Folder Records in Decisions, via workflow and ID Generation Keys."
tags: ["key", "ID"]
updated: 2026-05-15T20:32:37Z
published: 2026-05-15T20:32:37Z
canonical: "documentation.decisions.com/id-generation"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ID Generation

## Overview

The **ID Generation** steps are used to generate unique IDs for records. For instance, unique IDs are used for [**Process** **Folder** **Records**](/version-10/docs/using-process-folders).

---

## Creating an ID Generation Key

1. From a Designer Project, click CREATE FLOW on the **Global** **Action** **Bar** and select **Flow**. Provide a **Name** and click CREATE.
2. Navigate to the Toolbox and navigate to the **INTEGRATION > INTERNAL SERVICES > IDGENERATION** category.
3. Attach and configure any of the various Get[Parameter] steps to the **Start** and **End** steps.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1778785156909.png)
4. Click **Save** to save changes to the Flow.

---

## Get Next ID

The GetNextId step generates an ID by combining the user input prefix with a numerical value. One way that this step can be used is to generate a unique ID value for Accounts.

| Input Option | Description |
| --- | --- |
| prefix | Allows users to add string characters before the generated ID |

### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1778785218745.png)

---

## Get Next ID Fill With Pad Char

The GetNextIDFillWithPadChar step allows a user to generate a key based on length, padding character, and a prefix.

| Input Option | Description |
| --- | --- |
| length | Number of characters in the key |
| pad Char | The character that appears between the prefix and the final character |
| prefix | Add string characters before the generated ID |

### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1778785297877.png)

---

## Get Next Number

An alternate method to the **Get Next ID** step, is using the **Get Next Number** step. This step generates a sequence for the prefix in SQL Server. The step interacts with SQL Server to prevent duplicate output by increasing the prefix sequence's value each time the step is run. The step's interaction with SQL Server helps prevent the possibility of duplicate **IDs** from being generated. This step could be used for assigning a unique ID to a user within an environment.

| Input Option | Description |
| --- | --- |
| prefix | Add string characters before the generated ID |

![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1778785331048.png)
