Have a look at the code of one of our widgets: Wizardsteps XML
You see that the microflow (next property) needs an Entity. So in your widget, you need a property that describes the entity of the object that is returned and then you add a entityProperty to your microflow returnType (as seen here)