Call Power automate flow
function SendCPSBReport(executionContext, Recordids, Entityname, HideButton) { debugger; window.recordValues = Recordids; var pageInput = { pageType: "webresource", webresourceName: "ecl_CPSBQuarter" }; var navigationOptions = { target: 2, width: 200, // value specified in pixel height: 250, // value specified in pixel position: 1, title: "CPSB Quarter selection" }; Xrm.Navigation.navigateTo(pageInput, navigationOptions).then( function success(returnValue) { if (returnValue.returnValue != null) { var ids = window.recordValues; ...