cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Recipe for Okta Group and getting a specified Actor ID Help

EddieP-3892
Deputy Chef I
Deputy Chef I

Hello everyone! Pretty new here, I come from Okta Workflows so this is very new to me in a sense but I am hoping I could get some pointers but here's what I am trying to do:

  • Step 1: "Triggers immediately when a new event is created in Okta"
    • Event Category: selected "User lifecycle events"
    • Event types: selected "User group membership addition"
    • Event result = Success

Then this next part is where I am getting stuck: I am specifying a "Trigger condition" so that it only proceeds when the Actor ID is a match for a specific ID, for example, randomId93217893. Looking at the actual Okta log, the "Actor" key has multiple "id" so I am trying to specify it to get one of those, let's say for example, I want it to look for the 2nd item, test12345

 

 

"target": [
    {
      "id": "12346",
      "type": "User",
      "alternateId": "abc@def.com",
      "displayName": "Jim Jones",
      "detailEntry": null
    },
    {
      "id": "test12345",
      "type": "UserGroup",
      "alternateId": "unknown",
      "displayName": "Test Group",
      "detailEntry": null
    }
  ]

 

 


So then I tried "target.1.id", then tried dragging the "Target" ID card with a .1 next to it with no luck. I must be missing something but any help is greatly appreciated!

Screenshot 2024-08-02 at 3.06.33โ€ฏPM.png

 

Thanks,

Eddie

1 REPLY 1

EddieP-3892
Deputy Chef I
Deputy Chef I

forgot to mention I tried just the ID card by itself as well and no luck