Gen Java Inline Code statements not executing during tracing with DTU
search cancel

Gen Java Inline Code statements not executing during tracing with DTU

book

Article ID: 399360

calendar_today

Updated On: 05-29-2025

Products

Gen Gen - Workstation Toolset

Issue/Introduction

Using Gen 8.6 Toolset created an Action Block with a Java Inline Code statement.
However at runtime using the DTU (Diagram Trace Utility) the statement doesn't execute. Only statements before and after the Inline Code statement execute. 
The single Inline Code statement populates an export view:




A screenshot from the DTU:



Lines 3 and 7 execute but not line 5.

The calling PStep is deployed as Java EJB Web Service to WebSphere.

Environment

Gen 8.6

Resolution

With latest 8.6.4 Consolidation PTF WKS86400 installed Support created a test model with similar action diagram inline code to the user and called it from a PStep which was deployed as EJB Web Service to WebSphere.



Started the DTU and using SoapUI executed the PStep. The DTU showed that the export view was populated by the inline code.




As user sent a screenshot of DTU without expanded views perhaps they think the DTU should show the actual inline code statement being executed and that is why they think the inline code did not execute.
The DTU does not show inline code statements being executed but the export view should have been populated as per above.

Support's 2nd statement in the inline code to print a line to the system out/console was also visible in the WebSphere SystemOut.log:
[5/26/25 12:00:32:148 AEST] 000000b4 SystemOut     O Executing inline code statement

The user advised that after they installed WKS86400 the problem was resolved.
Support could not find any related PTFs for this problem so the root cause may have been some transient problem.

Additional Information

Support model is attached to this article.

Gen Example Model : INLINE CODE statement for Java

Attachments

a6372715.ief.zip get_app