I can getting a businessObject like
let businessObject = getBusinessObject(element)
Now, i am searching a way to get the superclass of the businessObject. I have for example different Gateways (event based gateway, complex gateway, …). I have now extend some logic when the user clicks a gateway. Now I do not want to check all gateway-types instead I want to get the superClass and check if it is a gateway. How can I get this?
Thanks for your help.
best regards, Thomas