Skip to content

Commit 67a8ea4

Browse files
authored
Update rules-of-workflows.mdx
1 parent 4d1fb9c commit 67a8ea4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/content/docs/workflows/build/rules-of-workflows.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ export default {
302302
params: payload
303303
});
304304

305-
// ✅ Good: use a composite ID or an
305+
// ✅ Good: use an ID that is unique
306+
// e.g. a transaction ID, order ID, or task ID are good options
306307
let instanceId = getTransactionId() // e.g. assuming transaction IDs are unique
307308
// or: compose a composite ID and store it in your database
308309
// so that you can track all instances associated with a specific user or merchant.

0 commit comments

Comments
 (0)