Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Translate the entire conversation x

how to find worflow stuck issues from Logs?

Sandy7
12-Amethyst

how to find worflow stuck issues from Logs?

Version: Windchill 12.0

 

Use Case: Logs and server status check to find the root cause of stuck issues.


Description:

Hello,

i have a site admin access and we are using WC 12.0
we often face CN workflow stuck issue and we don't know what is causing this.
i know that we can get something from logs but i don't know which log and how to pull that log from sever status/monitoring tool.

can someone please help on what logs can be pulled, how and what to check to find the root cause?

Br,
Sandy

ACCEPTED SOLUTION

Accepted Solutions
HelesicPetr
22-Sapphire II
(To:Sandy7)

Hi @Sandy7 

It is bad. 😄 but you can use the log viewer from Windchill GUI

1. Go to the Site 

2. Open a Server Status

3. Open Monitoring Tools

4. Open Log File Viewer

5. Select wt.log dir check box

6. Search the log files (the file name pattern is case sensitive)

 

HelesicPetr_0-1737969346649.png

HelesicPetr_1-1737969382803.pngHelesicPetr_2-1737969510978.png

 

hope this can help.

CS370530 - Log File Viewer in Windchill PLM

 

PetrH

 

View solution in original post

6 REPLIES 6
HelesicPetr
22-Sapphire II
(To:Sandy7)

Hello @Sandy7 

The workflow is usually run in a Background method server and all events are run from queues.

 

So any error from the workflow is logged in a Background_MethodServer.log file 

 

Check what time the workflow has been stuck and use this time for searching in the log file. 

Go to the logs folder on the Windchill server <WINDCHILL_HOME>\logs

open the BG log and search for the time.

be sure you open the bg log file from a day when the issue apeared

One file is created every day for logging.

 

Based on the error in the BG log you can get the idea of the root case.

share the error stack error. 

PetrH

 

Sandy7
12-Amethyst
(To:HelesicPetr)

Hi @HelesicPetr 

thank you for your reply.

 

where can i check the BGMS logs from? i don't have access to server folders

 

Br,

sandeep

HelesicPetr
22-Sapphire II
(To:Sandy7)

Hi @Sandy7 

It is bad. 😄 but you can use the log viewer from Windchill GUI

1. Go to the Site 

2. Open a Server Status

3. Open Monitoring Tools

4. Open Log File Viewer

5. Select wt.log dir check box

6. Search the log files (the file name pattern is case sensitive)

 

HelesicPetr_0-1737969346649.png

HelesicPetr_1-1737969382803.pngHelesicPetr_2-1737969510978.png

 

hope this can help.

CS370530 - Log File Viewer in Windchill PLM

 

PetrH

 

Sandy7
12-Amethyst
(To:HelesicPetr)

that is really helpfull.

do we have any article where i can learn about this utility more?

 

Thanks again for help..!

Br,

Sandeep

HelesicPetr
22-Sapphire II
(To:Sandy7)

Sandy7
12-Amethyst
(To:HelesicPetr)

thank you very much..!

 

Announcements

Top Tags