Skip to content

Commit 00c7714

Browse files
authored
Update durable-functions-orchestrations.md
Reducing the recommended instance ID length from 256 to 100 since 100 is the maximum allowed by the MSSQL storage provider.
1 parent 3cbc737 commit 00c7714

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/azure-functions/durable/durable-functions-orchestrations.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,15 @@ Each *instance* of an orchestration has an instance identifier (also known as an
2727

2828
The following are some rules about instance IDs:
2929

30-
* Instance IDs must be between 1 and 256 characters.
30+
* Instance IDs must be between 1 and 100 characters.
3131
* Instance IDs must not start with `@`.
3232
* Instance IDs must not contain `/`, `\`, `#`, or `?` characters.
3333
* Instance IDs must not contain control characters.
3434

3535
> [!NOTE]
3636
> It is generally recommended to use autogenerated instance IDs whenever possible. User-generated instance IDs are intended for scenarios where there is a one-to-one mapping between an orchestration instance and some external application-specific entity, like a purchase order or a document.
37+
>
38+
> Also, the actual enforcement of character restriction rules may vary depending on the [storage provider](durable-functions-storage-providers.md) being used by the app. To ensure correct behavior and compatibility, it's strongly recommended that you follow the instance ID rules listed previously.
3739
3840
An orchestration's instance ID is a required parameter for most [instance management operations](durable-functions-instance-management.md). They are also important for diagnostics, such as [searching through orchestration tracking data](durable-functions-diagnostics.md#application-insights) in Application Insights for troubleshooting or analytics purposes. For this reason, it is recommended to save generated instance IDs to some external location (for example, a database or in application logs) where they can be easily referenced later.
3941

0 commit comments

Comments
 (0)