Hi Kareem,
Do you mean that you want a way to query process definition? I suggest you to have a try ProcessDefinitionQuery.
Reply to this message by going to Community
Start a new discussion in jBPM at Community