Select to view content in your preferred language

Power Automate Causes Enterprise Layers to crash when it Accesses them

292
2
3 weeks ago
GBPTechForester
Occasional Contributor

This is an odd one, and I'm not sure if it's a bug, or I am misunderstanding some interaction here.

My goal is to create a power automate flow which notifies users when a particular attribute in a layer is updated. I have done this in the past with layers hosted in ArcGIS Online without issue, but whenever I try to access layers that are hosted in enterprise and being accessed through online, I cannot get the flow to trigger when I use the online connector pointed at the layer's arcGIS online page.

When I try using enterprise connectors to access the layers directly on our local enterprise server, the layer becomes unresponsive for as long as there is a flow that is turned on and accessing that layer. My current theory is that the issue is tied to instancing on the server, but I am not sure what changes to make to improve this. I have attached a screenshot of the Server Manager page for the layer package, as well as the connector I am trying to use in Power automate. I have gotten this flow to trigger successfully, but after a few moments the layer crashes on all machines that can access it and I have to restart the server to make it accessible again.

Please let me know if there is any additional information that I should provide. 
Thank you!

 

 

 

 

 

0 Kudos
2 Replies
AkshayHarshe
Esri Regular Contributor

@GBPTechForester  If you are referencing enterprise layer in Online and trying to access it with ArcGIS Connector it will not work. It shouldn't show the feature layer in the dropdown. User needs to be owner of the FL or an admin to create webhook. You must use ArcGIS Enterprise connector. That said, other actions may work such as  Get data from feature layer.

When I try using enterprise connectors to access the layers directly on our local enterprise server, the layer becomes unresponsive for as long as there is a flow that is turned on and accessing that layer

...

I have gotten this flow to trigger successfully, but after a few moments the layer crashes on all machines that can access it and I have to restart the server to make it accessible again.

This is  very interesting and concerning if it is a bug. It is most likely related to the resources as you mentioned but mainly to do with Enterprise or feature service, as Power Automate connector will only route the request and responses. I won't rule it out but curious to know.

Unfortunately, I can't see any screenshots maybe those will give me more information. If possible, I would try to reproduce this outside of Power Automate connectors using webhook.site or something similar to rule it out. see

Guide: Troubleshooting ArcGIS and ArcGIS Enterpris... - Esri Community

I will also recommend you to get in touch with technical support.

Thanks,
Akshay Harshe
GBPTechForester
Occasional Contributor

Thank you for the help. I tried to embed the screenshots directly in the text but I suppose that didn't work. Sorry about that. I will try attaching them here a different way for comparison. I have no experience with webhooks, so I haven't tried it yet. Perhaps it's time to learn. I did plan on reaching out to technical support but I wanted to rule out ignorance first, because I am very new to this. I appreciate your recommendations.

0 Kudos