Hi Christine,
you can add the Contract and the Klant as input parameters for the microflow, where you create the newAansluiting. And add them in the create Aansluiting action.
Edit: Or if Klant is not available, only use Contract as input parameter and retrieve the Klant over association.
Hello Christine Roggeveen,
Did your Microflow not have an Aansluiting object as a Microflow parameter?
If not you can add a microflow parameter (Aansluiting entity ).
Now in your New object, you can set the association values from the microflow Parameter since the new Aansluting object will have the same Klant and contract as the previous Aansluting object ( which is your Microflow parameter) .
Good Luck !!
Hi Roy,
Almost there. The microflow looks like this now.
I know what I did wrong, but don't now how to get to the right Klant and ContractID.
I retrieve Klant and Contract from database. But then I get a list. So that's why I took the firtst Klant and the first ContractID. But I need the Klant/Contract I'm adding a Aansluiting to. I thinkt that's the last problem now. The prefilling works now, but only with the wrong information.