Select to view content in your preferred language

Send an email when a record is changed in a hosted feature layer related table

88
2
Thursday
RyanDruyor_CSP
New Contributor

I'm looking to send an email after a new record is added to a related table within a hosted feature layer. I followed the guidance seen in this post but I changed the trigger to be 'when a record is updated in a hosted feature layer'. Just want to be sure this is the correct trigger to use and it will report back any changes to the related table. 

RyanDruyor_CSP_0-1760621325982.png

My apply to each parameter is 'body'

The fetch update parameters are set to get changes from 'changesUrl' and Feature layer ID is 'Layerid'

The apply to each 2 is set to 'body/items'

I don't get any flow checker errors or work flow failed emails with this setup.  

 

0 Kudos
2 Replies
tschrage
Emerging Contributor

That will work great as long as your feature references the related table.  This is one I use that references a related table for repairs.

tschrage_0-1760703645179.png

 

0 Kudos
AkshayHarshe
Esri Contributor

@RyanDruyor_CSP Does your flow get triggered when changes happen? 

If not I will recommend you to to troubleshoot using this: Guide: Troubleshooting ArcGIS and ArcGIS Enterpris... - Esri Community

Thanks,
Akshay Harshe
0 Kudos