Open Main View from the JavaScript var pageInput = { pageType: "entitylist", entityName: "dag_wfacompositeentity" }; Xrm.Navigation.navigateTo(pageInput).then( function success() { // Run code on success }, function error() { // Handle errors } ); Refresh the page after 10 second Dynamics 365 CRM JavaScript setTimeout(function refreshPage() { Xrm.Utility.openEntityForm(formContext.data.entity.getEntityName(), formContext.data.entity.getId()); }, 10000); Call Power Automate from the button click JavaScript Dynamics 365 CRM, Power App , Model Driven App var flowUrl = "https://prod-85.westeurope.logic.azure.com:443/workflows/7174dc80ca8745e9a52a459129642f7c/triggers/manual/paths/invoke?api-version=2016-06-01&sp=%...