Question & Answer
Question
Can you use an AS in order to debug a Maximo WFinstance specific problem?
Answer
Here is the script you would need.
Set it up on the add of WFInstance per the following screen shot:
# throw stack trace
# Make sure the integration logger is set to debug.
from psdi.iface.mic import MicUtil
from java.lang import Exception
e = Exception('executing script to debug workflow init')
MicUtil.INTEGRATIONLOGGER.error(e.getMessage(),e)
If this is an ADMIN user who does not have access to the logs, you can use thread logging to view this within Maximo (this is accessed/configured in the Logging application using the Action menu items Configure Custom Logging and In session logs).
Set up the automation script locally and start something into workflow (it does not matter how) in order to print the actions in the Maximo logs.
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21997846