/okta-workflows:okta-workflows-branchingfrom okta-workflows
Diagnoses and resolves Okta Workflows branching issues: no implicit type coercion in comparisons, nesting depth limits, and card-specific bugs in If/Else, If/ElseIf, Continue If, and Return Error If cards.
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, comparison-bugs
Other plugins' skills for the same job
9 skills in this plugin
/okta-workflows-connectorsUse when using the Okta or Azure AD / Microsoft Entra ID connectors in Okta Workflows: Okta Search Groups exact eq only except Custom Search Criteria (sw, ew); OKTA_GROUP vs APP_GROUP vs BUILT_IN Group Type for filtering Entra-imported groups (filter Type = APP_GROUP; UNCONFIRMED); Search Group Rule doing keyword (not exact) search; Okta connector concurrency/rate limits (30 concurrent, 15 GET/READ per-user, 6,000/min, hidden from the dashboard; DynamicScale 5x=50 to 50x=150); Entra delegated-permissions-only with no app-only/service-principal (use a dedicated service account); reauthorization breaking on scope changes; Entra record caps (Search Groups 4,000, Group Members 900, Users 4,000; input can't contain #); mail-enabled security/distribution groups silently failing on writes; List Contact Folder's 2-level cap. Triggers on Search Groups, APP_GROUP, Okta connector rate limits, DynamicScale, Azure AD connector, delegated permissions, 900 members, mail-enabled security group, List Contact Folder./okta-workflows-deploymentUse when versioning, deploying, promoting, or moving Okta Workflows between orgs (Preview to Production) via flopack import/export: export stripping all connection information and table DATA so only the schema survives (restore connections; tables start empty); broken references needing manual remapping on import (a helper flow missing from the export must be replaced first); flopack/template schema rules (workflow.flopack and workflow.json must be valid JSON; the name value, 50-char limit, must exactly match the enclosing folder; connector names must match connectors.json; folder name must match ^[a-z0-9_]{2,50}$; the details object (flowCount, helperFlowsCount, mainFlowsCount, flos[] with id/name/type/screenshotURL, tags) must exactly match the flopack or CI validation fails); max folder depth 5; duplicate-folder skipping table data. Triggers on flopack, workflow.json, export/import, empty tables after import, broken references, connectors.json, Preview to Production.npx claudepluginhub the-vibey-project/vibey --plugin okta-workflows