Hello, I have a domain model with following enitites: Offer, Booking and Customer, which has a generalization to Administration.Account.
An annonym User can create a Customer with generalization to Administration.Account and can create a Booking with association to Offer.
My question is: How can I associate the CurrentUser, who is a logged in as a Customer, to the Booking. (Customer and Offer have the sam association to Booking)
Thank you for your efforts.
Is your question, how do you retrieve the current user in a microflow so then you can set associations to that object? If so, then do a retrieve action from database for Customer objects and set the xpath constraint to: [id=$currentUser], select the first one.