Added a way to query for process definition id.