Forum Discussion
Richard_Scar
Apr 10, 2025Copper Contributor
Extract Email Address from Incident Entity
I'm trying to put together a logic app that will reset a users password and also send them as email notifying them why their password was reset. The logic app triggers off a sentinel incident. The u...
Richard_Scar
Apr 16, 2025Copper Contributor
Thanks Gary, so I have done that and see pic for the result, I'm trying to figure out how I can extract the MailAddress property for the user, its under Properties --> Additional Data, see pic
I used this for the sample payload to extract the schema, I can then see the mailaddress to select it but when I run, the json validation always fails
- GaryBusheyApr 17, 2025Bronze Contributor
Since the information being returned is part of a JSON array, you would need to perform a loop to get all the entries in it. Kind of surprised that Logic App didn't automatically do this for you when using that field. You would need to do a loop on "relatedEntities" and then you can send the Email(s)