From 67a8ea4c9c33b0936d79aeff11d29fa4e5fca885 Mon Sep 17 00:00:00 2001 From: Matt Silverlock Date: Fri, 13 Dec 2024 06:58:12 -0500 Subject: [PATCH] Update rules-of-workflows.mdx --- src/content/docs/workflows/build/rules-of-workflows.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/content/docs/workflows/build/rules-of-workflows.mdx b/src/content/docs/workflows/build/rules-of-workflows.mdx index c2888b942b0728..d953bba44be9c4 100644 --- a/src/content/docs/workflows/build/rules-of-workflows.mdx +++ b/src/content/docs/workflows/build/rules-of-workflows.mdx @@ -302,7 +302,8 @@ export default { params: payload }); - // ✅ Good: use a composite ID or an + // ✅ Good: use an ID that is unique + // e.g. a transaction ID, order ID, or task ID are good options let instanceId = getTransactionId() // e.g. assuming transaction IDs are unique // or: compose a composite ID and store it in your database // so that you can track all instances associated with a specific user or merchant.