Skip to content

rulvar API reference


rulvar API reference / @rulvar/rulvar / workflowScope

Function: workflowScope()

ts
function workflowScope(
   parent, 
   name, 
   ordinal): string;

Defined in: packages/core/dist/index.d.ts

ctx.workflow child scope: wf:<name>:<ordinal> (ordinal counts invocations of that name).

Parameters

ParameterType
parentstring
namestring
ordinalnumber

Returns

string