> For the complete documentation index, see [llms.txt](https://developer.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.collibra.com/workflows/designing-workflows/processes/process-execution/names-and-unique-names-in-workflows.md).

# Names and unique names in workflows

In Collibra Data Governance Center version 5.4 or newer, including Collibra Platform, there is a significant API change impacting asset names. Starting with this version, assets have names and unique full names, respectively referred to as `displayName` and `name` in the API . In older versions, you only had `name` to refer to the asset name.

| Action via API | Behavior                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Add asset      | <p>When you add an asset via an API call, you must enter a <code>name</code> and you can specify a different <code>displayName</code>:</p><ul><li><code>name</code>: This is the mandatory unique full name of the asset and is represented by <strong>Full name</strong> in the UI.</li><li><code>displayName</code>: This value is optional and corresponds to the asset <strong>Name</strong> in the UI.</li></ul><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>If you don't specify a <code>displayName</code> ,it automatically defaults to the value of <code>name</code>.</p></div> |
| Update asset   | <p>You can use <code>name</code> to update the asset <strong>Full name</strong> and <code>displayName</code>, to update the asset <strong>Name</strong>.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>During an update operation, the <code>displayName</code> does not change if you only update the <code>name</code>.</p></div>                                                                                                                                                                                                                                                     |

## Example

The following example shows how you can change the asset name in Collibra Data Governance Center 5.3 or older and 5.4 or newer, both using the Java API v2.

{% hint style="info" %}

* API v1 is deprecated.
* After an upgrade to 5.4 or newer, verify that workflows that affect asset names use the new API.
  {% endhint %}

<table data-header-hidden><thead><tr><th></th><th></th></tr></thead><tbody><tr><td>5.3 or older</td><td>5.4 or newer</td></tr><tr><td><pre><code>assetApi.changeAsset(builders.get("ChangeAssetRequest")
	.id(UUID assetUUID)
	.name(String newAssetName)
	.build()
)
</code></pre></td><td><pre><code>assetApi.changeAsset(builders.get("ChangeAssetRequest")
	.id(UUID assetUUID)
	.name(String newAssetFullName)
	.displayName(String newAssetDisplayName)
	.build()
)
</code></pre></td></tr></tbody></table>
