I am building workflows using a proprietary engine leveraging Flowable. The engine comes with preloaded beans that can be used from groovy script tasks and I would like to introspect all variables in scope.
I used the following code:
this.binding.variables.each {k,v -> loggerApi.info("$k = $v")}
But it does not return all variables. There are additional variables like statusApi
that are not returned from the binding.
Is there any other command I could execute to query all variables in scope of the script task?