Skip to main content
17-Peridot
August 15, 2022
Solved

Workflow History Viewer

  • August 15, 2022
  • 4 replies
  • 1682 views

Hi team

The help page linked below says there is a Workflow History Viewer utility :

$  windchill wt.workflow.engine.WfMonitor

 

We have WC 12.0.2, and I get 'ClassNotFoundException'

 

Is there a typo in the class name? Do I need to add to the classpath?

Thanks

Rick

 

https://support.ptc.com/help/wnc/r12.0.0.0/en/index.html#page/Windchill_Help_Center%2FWFChp_WFHistoryViewerUse.html%23

Best answer by HelesicPetr

Hi @rleir 

 

I guess that PTC remove this utility from the Windchill.

 

I can't find the class and any similar utility in the Windchill 12.0.2.1

 

PetrH

4 replies

HelesicPetr
22-Sapphire II
August 16, 2022

Hi @rleir 

 

I guess that PTC remove this utility from the Windchill.

 

I can't find the class and any similar utility in the Windchill 12.0.2.1

 

PetrH

16-Pearl
August 16, 2022

I gave it a try on PDMLink 11.1 M020 and got a null pointer exception

 

E:\ptc\Windchill_11.1\Windchill>windchill wt.workflow.engine.WfMonitor

 Workflow Monitor - Main Menu
 ----------------------------

 Existing Workflow Processes
 ---------------------------

 >> WARNING: The ManagerService is not initialized! This can be caused by:
1) Attempting to invoke a server only method from a remote client
2) Attempting to invoke a method on a service from the constructor or static initializer of another service
Exception in thread "main" java.lang.ExceptionInInitializerError
 at wt.workflow.engine.WfProcess.getName(WfProcess.java:1431)
 at wt.workflow.engine.WfMonitor.processToString(WfMonitor.java:505)
 at wt.workflow.engine.WfMonitor.main(WfMonitor.java:100)
Caused by: java.lang.NullPointerException
 at wt.access.AccessControlServerHelper.<clinit>(AccessControlServerHelper.java:85)
 ... 3 more

E:\ptc\Windchill_11.1\Windchill>

 

 

HelesicPetr
22-Sapphire II
August 16, 2022

Hi @rhart 

Windchill has to be stopped before you start the utility

PetrH

rleir17-PeridotAuthor
17-Peridot
August 17, 2022

Hi Petr

I stopped WC, but that did not help.

$ windchill wt.workflow.engine.WfMonitor
Error: Could not find or load main class wt.workflow.engine.WfMonitor
Caused by: java.lang.ClassNotFoundException: wt.workflow.engine.WfMonitor

Thanks

Rick