/okta-workflows:okta-workflows-hooks-streamingfrom okta-workflows
Documents six quirks of Okta Workflows event hooks, streaming hooks, and handler flows: streaming helper flows that cannot be stopped, rigid input contracts, State not being a mutable accumulator, event hook limits, API endpoint timeouts, and finding the calling flow via root_wf_id.
Ships in okta-workflows. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Six quirks covering the hook/streaming/handler-flow layer.
"You can't stop a flow once the execution begins. A helper flow that streams data from a search or list card runs until the API returns all records or the flow reaches the specified maximum number of records. Also, an in-progress flow doesn't stop running if you deactivate the flow." Streaming handles data sets that exceed the 10,000-record standard search limit, up to a 1 million-record maximum; "Processing 500,000 records takes approximately 13 hours. Processing 1 million records takes approximately 25 hours."
Record and State (both Object)"In the helper flow, create two input entries: Record and State. Set the type for both fields to
Object… The helper flow requires the input fields to be named Record and State." Record = current
item being processed; State = parent-defined extra inputs sent with every record.
State is NOT a mutable cross-page accumulator (the paginateData custom-parameter limitation)The docs describe State as parent-defined inputs sent to the helper flow with each record; there is
no documented mechanism for the helper flow to mutate State and have that change survive to the next
record/page. This is the structural limitation behind the user's finding that streaming Handler Flows
do not thread custom/user-defined parameters through the built-in paginate mechanism.
object containing a break key
(commonly named break) set to FALSE plus a path field naming that key; the helper flow updates
the object each iteration and removes the path key to stop. "Proper use of the path field is
important… If it isn't properly managed, the flow could run until it hits the maximum count of 5,000
iterations." For state that must persist across pages, externalize it to a Tables row keyed by run
ID rather than relying on State.Event hook completion timeout is 3 seconds with a single retry (4xx = no retry; 2xx = success; redirects not followed). Limits: 400,000 applicable events / 24h per org (System Log warning at 280,000; resets 24h after the first event); max 25 active event hooks/org; max 500 flows using an Okta event card as trigger; max 100 events per event hook payload; max 100 inline hooks/org (3s timeout each). "There's no guarantee for the order of event hook delivery or flow execution" — a deactivation-event flow may run before or after a reactivation, so the user state may have changed.
Synchronous API-endpoint connections terminate at 60 seconds (the flow itself keeps running); async waits drop at 120s. Inline hooks time out at 3s. Workaround: add API Connector Close as the first card to release the HTTP connection immediately, then process asynchronously; or use Call Flow Async + Return Raw.
The first Helper Flow card exposes a Caller object containing root_wf_id. root_wf_id reliably
resolves only the immediate caller one level deep; for robust multi-level lineage use Event metadata
in Execution Log Streaming.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub theviziusgroup/vibe-engineering-skills --plugin okta-workflows9 skills in this plugin
/okta-workflows-branchingUse when an Okta Workflows If/Else or If/ElseIf takes the wrong branch, or when designing branching / comparison logic in a flow: no implicit type coercion in comparisons ('6' Text vs 30 Number, '80' > '9' is false even though 80 > 9 is true) affecting True/False Compare, If/Else, If/ElseIf, Continue If, and Return Error If; the don't-nest-more-than-3-If/ElseIf guidance; passing a value directly into an If/ElseIf condition throwing an error (the Flow Control - Assign card tip-bug); Return / Continue If behaving as anonymous helper flows inside If/ElseIf and If Error blocks (proceeding after the block instead of halting); not being able to drag outputs from inside a branch to cards after the block (the Create Outputs / View Outputs feature); and If/Else supporting only ONE condition (And/Or/Not/XNOR). Triggers on wrong branch, silent wrong branch, True/False Compare, implicit datatype conversion, nested If/ElseIf, Continue If, Return Error If, drag outputs from a branch, Branching card outputs, one condition./okta-workflows-connectorsUse when using the Okta or Azure AD / Microsoft Entra ID connectors in Okta Workflows: Okta Search Groups doing exact eq only except the Custom Search Criteria input (sw, ew); OKTA_GROUP vs APP_GROUP vs BUILT_IN Group Type semantics for filtering Entra-imported groups (filter Type = APP_GROUP; misbehavior UNCONFIRMED); Search Group Rule doing keyword (not exact) search; Okta connector concurrency/rate limits (30 concurrent, 15 GET/READ per-user, 6,000/min, not shown in the dashboard, DynamicScale 5x=50/10x=80/25x=120/50x=150); Entra delegated-permissions-only with no app-only/service-principal (use a dedicated service account); reauthorization breaking when scopes/config change; the three different Entra record caps (Search Groups 4,000, Search Group Members 900, Search Users 4,000; input can't contain #); mail-enabled security and distribution groups silently failing on write cards; List Contact Folder's 2-level cap; and hard-coded-domain search cards returning incomplete results. Triggers on Search Groups, Custom Search Criteria, APP_GROUP, Search Group Rule, Okta connector rate limits, DynamicScale, Azure AD connector, delegated permissions, 4000 groups, 900 members, mail-enabled security group, distribution group, List Contact Folder, Custom API Action.