Get parent classname
I need to get the parent classname of a class, but I don't find how to do it.
I have a class Parent (MyLibrary.ParentClass) and two classes inherited from the parent class
MyLibrary.ParentClass ├─── MyLibrary.ChilcClass01 │ ├─── MyLibrary.ChildClass02
I have a Business Process that entry class is MyLibrary.ParentClass. If I'm calling with any child class (i.e. MyLibrary.ChildClass01) it works, then I'm using the method $Classname(request) to get the name of the class and redirecto to other process.
But I want to check that the request is a class inherited from MyLibrary.ParentClass. How to do it?