Entity associated to persistent entity cant be used as Parameter/Return Type of microflow called from nanoflow on native pages

Hi, My domain model has a Non-Persistent Entity that is associated to a Persistent entity and I have generic microflow that accepts this Non-Persistent entity object as input parameter.  I need to execute this generic microflow functionality on Native page button action so I created a nanoflow for button action and called the microflow from nanoflow. I am getting below compilation error saying Non-Persistent object is not allowed. CE6898    Parameter '<Parameter Name>' is associated to a persistable entity over path '<Path>', which is not allowed in a microflow called from a nanoflow on pages that are accessible through a native profile. Any suggestion to fix this issue?
1 answers

Change the non-persistent entity to a persistent entity and make sure the record is never committed?