We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bc4fe7 commit 8743135Copy full SHA for 8743135
src/content/docs/workflows/build/rules-of-workflows.mdx
@@ -306,7 +306,7 @@ export default {
306
let instanceId = getTransactionId() // e.g. assuming transaction IDs are unique
307
// or: compose a composite ID and store it in your database
308
// so that you can track all instances associated with a specific user or merchant.
309
- let instanceId = `${getUserId(request}-${await crypto.randomUUID().slice(0, 6)}`
+ instanceId = `${getUserId(request}-${await crypto.randomUUID().slice(0, 6)}`
310
let { result } = await addNewInstance(userId, instanceId)
311
let instance = await env.MY_WORKFLOW.create({
312
id: userId,
0 commit comments