Composition relationship BDM

Hello,

I’m using Bonita 7.3.1, and I’m using BDM for the business data.

I have read that if I set a relationship between BDMs as “Composition”, the child only can exist if the parent exist, so I suposse that if the parent is deleted, the child must be deleted in cascade. But when I have done a test, if I tried to delete a parent, a error message is shown because I am violating a constraint for the foreign key.

What would I do for define a cascade delete for the relationship?

Thanks

Read Parent BDM Get Child BDM Pointer(s) for (each Child){ Delete Child } Delete Parent regards Seán

PS: As this reply answers your question, please mark as resolved by ticking the tick mark on the left of this reply.