/okta-workflows:okta-workflows-branchingfrom okta-workflows
Diagnoses and resolves Okta Workflows branching bugs: no implicit type coercion in comparisons, nesting depth limits, and If/ElseIf card quirks. Use when a flow takes the wrong branch or comparison logic fails.
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 in the branching/comparison card family. The #1 production bug in an Entra → Okta sync is the silent wrong branch (1.1) caused by no implicit type coercion.
The True/False Compare, If/Else, If/ElseIf, Continue If, and Return Error If cards do NOT
auto-convert data types. Comparing value A "6" (Text) < value B 30 (Number) returns FALSE,
because when a number is passed as text a text (alphabetical) comparison is performed: "80" > "9"
is false even though 80 > 9 is true. This manifests constantly in Entra → Okta sync when
Graph/Okta API values arrive as strings.
Per AJ Ahrens, Workflows Team Lead at Okta (quoted verbatim in Max Katz "Workflows Tips #13," maxkatz.net, 2022/03/25): "Don't nest more than 3 If/Elseif statements. It is difficult to understand how it works and debugging is even more challenging." This corroborates the user's finding that deep nesting of branch/if-else cards is fragile.
Per Max Katz Tips #13, quoting Okta staff: passing a value into an If/Elseif card produces an error. Documented workaround at the time: "use Flow Control - Assign card inside the If/Elseif card to pass in the value." Okta labeled this a "tip-bug" that "will be fixed."
Inside an If/ElseIf or If Error block, these blocks behave as "anonymous helper flows." A Return (or Continue If when false) does NOT halt the flow — it proceeds to the step immediately after the If/ElseIf or If Error container. To actually halt, use Return Error, Return Error If, or a Continue If placed outside the block.
"You can drag outputs from cards that run before the If/ElseIf into a condition or branch inside the If/ElseIf, but you cannot drag outputs from inside a branch to cards that are run after the If/ElseIf. This is because an output from inside a branch will be undefined any time a different branch is run." Workaround: use the block's optional Outputs feature (View Outputs / Create Outputs) which assigns values after whichever branch completes.
The Branching - If/Else card doesn't support multiple conditions. Use True/False Compare cards feeding an And/Or/Not/XNOR card, then pass the single boolean into If/Else; or use If/ElseIf.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
okta-workflows, branching-logic, type-coercion, if-else, flow-debugging
npx claudepluginhub theviziusgroup/vibe-engineering-skills --plugin okta-workflows9 skills in this plugin
/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./okta-workflows-deploymentUse when versioning, deploying, promoting, or moving Okta Workflows between orgs (Preview/sandbox → Production) via flopack import/export: export stripping all connection information and table DATA so only the schema survives ('you need to restore all card connections', 'tables are recreated according to the table schema… but the tables are initially empty'); broken references requiring manual remapping on import (a helper flow that wasn't included in the export must be replaced before the import completes); flopack/template schema rules (workflow.flopack and workflow.json must be valid JSON, the name value's 50-char limit must exactly match the enclosing folder, connector names must match connectors.json, folder name must satisfy regex ^[a-z0-9_]{2,50}$, and the details object — flowCount, helperFlowsCount, mainFlowsCount, flos[] with id/name/type/screenshotURL, tags — must exactly match the flopack or CI validation fails); and max folder depth 5 plus duplicate-folder not copying table data. Triggers on flopack, workflow.json, export/import flows, restore connections, empty tables after import, broken references, connectors.json, folder depth 5, duplicate folder, Preview to Production promotion.