Your dataView on the page is expecting an object, so your microflow needs to return an object of type NP_Flight_data instead of a decimal.
Set the return value to $TAT_Object
I assume you NP_Flight Data is a non-persistent entity,
Now, add an attribute say ‘Count’ of decimal type in the Non-persistent entity and then set the decimal value in the Count attribute that you are returning in the event.
then Set the object as return value,
Now on the page where you want to show the Count, add a data view and put the microflow, that you just created as Datasource, now,
You will be able to see the attribute on the page.
Let me know, if you have any issues,
Hope it helps!!
I sometimes find I can’t choose what I want in the dialog, but it is still possible to type it in
Try typing $NewNP_Flight_data/TAT into the text box as the return value
This is what I have now:
But as you can see, the dataview still gives an error that the microflow does not return an Object.
I think I am missing something here.