cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete data of different types which are having relation?

Former Member
0 Kudos

Hi,

I have 3 item types, lets say typeA, typeB, typeC. the relation between typeA- typeB is 1:n, the relation between typeB- typeC is 1:n. Now my requirement is to delete one instance(entry) of typeA along with that associated(via A-B relation) typeB instances and associated(via B-C relation) typeC instances.

However when i delete instances of typeA underlying typeB and typeC are not getting deleted. Please suggest how should i proceed.

Thanks, Sree

former_member387866
Active Contributor
0 Kudos

How are you deleting the instances of typeA?

Perhaps when you delete typeA, you're only deleting the reference to the typeBs.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Have you set modifier partof="true" in your relations?

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Lukasz,

Thanks for the reply. This solved my purpose.

Thanks, Sree