In the WOTRACK app of Maximo, I need to find some way to programmatically access the where clause of the current window query. It\'s clear this exists somewhere in Maximo, s
In Maximo 7.6.1.1/Jython, we can use the getWebClientSession()
method:
wclause = service.webclientsession().getCurrentApp().getResultsBean().getMboSet().getUserAndQbeWhere()
service.error("The WHERE clause is : ", wclause);
At the time that this was written, the getWebClientSession()
method wasn't included in the docs (because the docs were for version 7609).
Credit goes to AndreasBr on DeveloperWorks for finding the original answer: Sending "dialogok" from Automationscript | get WebClientSession in Jython.