Hello,
I have an object linked to others with foreign keys. Before deleting a record, I need to delete every record connected. At the moment, when I try a record used in another table, it shows me an error (I cannot view the details).
I am trying to used the "Before deleting record" in my object properties, to delete everything linked to it.
But I cannot understand this process designer.
I need to do something like that:
I cannot figure out how, for example, InvoiceProduct are deleted when we delete a Product...
Thanks
Like
Dear Jean,
The in-build business processes support only script tasks and signals placed in an "event based gateway" area.
Please use the in-build business process in the "Contact" object in the "Base" package as an example. Please note that you need to throw an intermediate signal if you override in in-build process signal in the "Custom" package.
Please note that modifying the in-build processes is considered as c# development. Errors in the c# code of an in-build business process will lead to errors in the system.
Please note that the [Cascade connection] property covers your request. However you need to be very careful with it. The [Cascade connection] functionality will delete connected records without notifications and you need to make sure that the system will delete only needed data.
https://academy.bpmonline.com/documents/sales-enterprise/7-12/how-set-p…
Thanks Eugene, the Cascade connection property resolved my problem !