Workaround for Webhook Creation on Map Services with ArcGIS Connectors?

219
3
3 weeks ago
KathrynWesson
Regular Contributor

Am I understanding correctly that it's not possible to use the ArcGIS Connectors on non-hosted feature layers? I keep getting the error "Webhook creation on Map Services is currently not supported in ArcGIS Connectors for Power Automate." The data I'm trying to access is a feature layer in our Enterprise account published from our organization's federated server. The URL ends in .../FeatureServer/0.

If I can't use the ArcGIS Connectors in Power Automate, what other triggers can I use as a workaround? My goal is to automatically send an email whenever a feature's 'Condition' field dips below 4. The features are updated in Field Maps, but this particular field is only calculated weekly. I don't know much about Power Automate so I'm open to any suggestions. I've attached a screenshot of the feature layer's configuration, but I'd like to find a way to accomplish my goal without changing the configuration, if possible.

3 Replies
AkshayHarshe
Esri Contributor

Hi @KathrynWesson

Thanks for your question. What version of ArcGIS Enterprise you are using? Here are a few pointers for using Power Automate and ArcGIS Connectors. 

  • In General, Power Automate must be able to access the URL of the layer. Machine you are accessing should not be behind a firewall or an internal network.
  • To use any triggers (webhooks) in the ArcGIS for Power Automate connectors you must be the owner of the feature layer.
  • ArcGIS for Power Automate connectors currently don't support Webhooks with feature layers referenced from an enterprise geodatabase and on map services. Though this functionality is in current development pipeline and we are hoping to release it soon. 

I hope it answers your questions. Feel free to reach out if you have any specific ones.

 

 

Thanks,
Akshay Harshe
0 Kudos
DakshataShahi1
New Contributor

Hey Akshay, I'm facing the same issue. Our organization is currently running Enterprise 11.3. 

DakshataShahi1_0-1748538622489.png

 

Tags (1)
0 Kudos
HilsKatrin
New Contributor

Hi @KathrynWesson,

I ran into the same issue weeks ago and created a workaround with a python script. 

I don't know whether you have a Notebook to run scripts oder the possibility to run python scripts in windows tasks, but this is my workaround:

  • I published the Feature Class as referenced but also as hosted Feature Layer
  • the referenced Feature Layer is used in the Field Map App and the users are editing features like always 
    • when they want a feature to be send via mail to somebody (seperate field with mailadresse in attributtable) they alter a field called "send" from empty to yes
  • My Notebook script is now checking if there is a change ("yes") in the field "send" in the reference feature layer and copies just this feature to the hosted feature layer. 
    • at the end of the script I change the "yes" in the field "send" in the referenced feature layer to something like "sent" or ""done"
  • A Power Automate Flow will be triggered because it can detect a change in the hosted feature layer
  • the Power Automate Flow is now reading the feature and I can send a mail

Maybe this workaround is something that could help you as well. Feel free to reach out if you have specific questions.

Best,

Katrin

0 Kudos