
Announcements
I have some logic implemented in a Custom API plugin that makes web calls to a remote service. This action is invoked from a button on a form and has the potential to exceed the 2 minute allowance for plugins.
What are my alternatives here? Ideally it would not involve any Azure services (functions for example). I would be happy for an async solution so long as the user is able to be notified when complete. However, part of that action is to update the record for which the user initiated the action (the remote server provides calculated field values) so not only does the user have to be notified but the form refreshed from source as well.
Hello,
I would recommend taking a look towards HTTP initiated Power Automate Flows/Logic Apps/Azure Functions.
Check this - https://softchief.com/2021/12/27/call-power-automate-using-javascript-from-dynamics-365-forms/