Is it possible to query the event subscriptions for an execution using one of the the apis. I know the executionQuery of the runtime service allows us to filter executions that are waiting for a named signal provided you know the signal you want to filter. How would you go about getting a list of signals a processInstance (or execution) is waiting on or get the signal name it is looking for?
I am trying to generate a reporting/debugging script that allows us to inspect a running workflow and I would like to use the Activiti apis instead of going directly to the database.
Thanks