Run a Nanoflow before load of Home screen in web application

0
We have to show a widget on the home page, ->the widget needs that a JavaScript should runs before load of that => we have a nanoflow by which we can run that JS => As we can't run a nanoflow from a microflow what should we do to run that nanoflow before load of home screen?
asked
1 answers
2
  • using a data view with Data source as Nanoflow 
  • Returning an empty object of non presistable entity
  • by this way i was able to get Nanoflow working before loading  homepage and dataview is also hidden so it didn't affected the UI
answered