<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00009NHEjoCAHOkta Identity EngineWorkflowsAnswered2026-04-29T09:00:25.000Z2023-06-22T06:11:04.000Z2023-07-03T21:13:33.000Z

8eb02 (8eb02) asked a question.

Okta workflow 'Return' function card, return nothing empty value

I created a helper flow where based on the condition Return card should return the text value as true/false.

But every time when I am testing this helper flow it is returning nothing.

Helper flow:

Image is not available

I tested running this helper flow from the parent workflow also there also I am getting an empty value.

Parent workflow card:

Image is not available

Image is not available


  • TimL.58332 (Workflows)

    It isn't returning anything the flow is stopping on the Continue If. -1 is_not "greater than" -1 they are "equal". Nothing would execute to the right of the Continue If in this scenario.

     

    The "message" on the continue if cards is just meant to be informative. It cannot be passed anywhere as the flow will stop when it occurs. So for example lets say "List Length" check is happening. If the length is not greater than 0 you want the flow to stop. The message would be "List empty" so a quick glance tells you why.

     

    With what it appears you want to do an "Assign If" might be a better option. You can assign one value if the comparison is "true" and another value if "false".

    Expand Post
    Selected as Best
  • TimL.58332 (Workflows)

    It isn't returning anything the flow is stopping on the Continue If. -1 is_not "greater than" -1 they are "equal". Nothing would execute to the right of the Continue If in this scenario.

     

    The "message" on the continue if cards is just meant to be informative. It cannot be passed anywhere as the flow will stop when it occurs. So for example lets say "List Length" check is happening. If the length is not greater than 0 you want the flow to stop. The message would be "List empty" so a quick glance tells you why.

     

    With what it appears you want to do an "Assign If" might be a better option. You can assign one value if the comparison is "true" and another value if "false".

    Expand Post
    Selected as Best
  • 8eb02 (8eb02)

    You are right I was executing the case for index -1 and forgot to check.

  • 75b93 (75b93)

    From what I've seen, the message still gets passed, and the output name is "message"

    However in this case, it is still better to go with "Assign If" if you want it to be either or

This question is closed.
Loading
Okta workflow 'Return' function card, return nothing empty value