calendar widget and non persisitable entities

I'm using the calendar widget with non-persistable entities (because the data is read from a remote api service). This is the model  De prestations are placed on the calendar with a microflow with data context. But when I the new event microflow doesn't receives the employee object which is the dataview context in which the calendar is placed. The new event reference can't be used for non-persistable entities. How can I link a newly created Prestations object to the employee object in this NewPrestations microflow?
1 answers

Make your entities persistable and empty them before you make a webservice call