<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
System Status
Announcements
Announcements
Search
Search
Select Language
0D54z00009uMM4lCAGOkta Identity EngineWorkflowsAnswered2026-10-31T09:00:29.000Z2024-01-11T12:26:21.000Z2024-01-12T07:33:12.000Z

s7sh6 (s7sh6) asked a question.

Object Child Flows

Hej Okta Pros,

 

I got a workflow that runs if there's a profile change for a user. The flow should send out a slack notification that posts the changed fields and their new values.

 

I want to create a string that looks like this (Slack Message Blocks):

 

```json

{

"type": "mrkdwn",

"text": "*Key1*\nValue"

}

{

"type": "mrkdwn",

"text": "*Key2*\nValue"

}

{

"type": "mrkdwn",

"text": "*Key3*\nValue"

}

```

 

To get an object with the fields that changed and their values, I read the user profile and then run "map" to iterate over this object.

 

The problem is that when I use the map card, I don't get any results back. What am I doing wrong?

 

Is there even a better way to achieve all this?

 

Help much appreciated.

Thank you!

 

Helper Flow:

Image is not available

Main Flow:

Image is not available


  • Tim LaBorn (Workflows)

    @s7sh6 (s7sh6)​  -- I leveraged Reduce to match the "Example" output you provided. It clearly isn't valid JSON but it matches.

     

    Attached an example flopack. You can just set an OktaUserID in the leading assigncard and run it (make sure both flows are turned on) to see an example.

    Selected as Best
  • Tim LaBorn (Workflows)

    @s7sh6 (s7sh6)​  -- I leveraged Reduce to match the "Example" output you provided. It clearly isn't valid JSON but it matches.

     

    Attached an example flopack. You can just set an OktaUserID in the leading assigncard and run it (make sure both flows are turned on) to see an example.

    Selected as Best
    • s7sh6 (s7sh6)

      Thank you so much Tim, that's it! You're the best.

This question is closed.
Loading
Object Child Flows
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply