<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
0D54z0000AHVQ6HCQXOkta Identity EngineWorkflowsAnswered2024-10-31T16:51:51.000Z2024-10-17T21:53:54.000Z2024-10-31T16:51:51.000Z

ToddW.64627 (CollegeBoard) asked a question.

When using the map card to transform a list getting mixed results.

I have two helper flows that I would like to use to process users and return azure objectIDs for the contents of the list. One flow just looks up a known user email and returns the objectID. The other flow does a little more like look for the user and create one if needed and return the object ID.

 

The weird part is the first flow will return a list like this:

["11111-22222-33333-44444-55555",

"66666-77777-88888-99999"] This is what I want.

 

The second flow returns the same data, but its received with the key listed in the list as well like this:

[ {"objectID":"11111-22222-33333-44444-55555"},

{objectID":"66666-77777-88888-99999"}]

 

as stated, both helper flows return the same info to the map card in the calling flow. Just the text for the object ID that was found.

 

Anyone have any idea why one return would have the value of the return card while the other does not? Both are called from the same parent flow. One difference is the undesireable return with the keys is in an if/else card.


  • TimL.58332 (Workflows)

    Just to close the loop on this one:

     

    There are 3 different map cards:

     

    • Object - Map
    • Object - Map to List
    • List - Map

     

    Each of these function a bit differently. In this instance it Looks like Object - Map & List - Map were used in the 2 different flows causing different results.

    Expand Post
    Selected as Best
  • Hello @ToddW.64627 (CollegeBoard)​ Thank you for posting on our Community page!

     

    The Okta Community Questions forum isn't really meant for in-depth troubleshooting.

    If you already have a Support ticket open, then I recommend continuing the discussion with the assigned Technical Support Engineers. They'll be able to access additional tools and resources to help you get to the bottom of it.

     

    Thank you for reaching out to our Community and have a great day!

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Ask Us Anything about Workflows now thru 10/31 

    Expand Post
  • TimL.58332 (Workflows)

    Just to close the loop on this one:

     

    There are 3 different map cards:

     

    • Object - Map
    • Object - Map to List
    • List - Map

     

    Each of these function a bit differently. In this instance it Looks like Object - Map & List - Map were used in the 2 different flows causing different results.

    Expand Post
    Selected as Best
This question is closed.
Loading
When using the map card to transform a list getting mixed results.