Workflows ReferenceType Definitions
ActionWorkflowIdentity
type ActionWorkflowIdentity = WorkflowUserIdentifier & {
testGroup100: number;
};Type Declaration
testGroup100
testGroup100: number;A number between 0 and 99 calculated from a hash of the user's identifier.
Allows assigning users to a test group consistently.
Example
return identity.testGroup100 < 50 ? ['plan-a'] : ['plan-b'];