When a PUBLISH statement with any scope is placed in the 'Event Process' section of an event, it always passes the value of the variable all the way back up to the TOP.
When used in a the 'Process' of the Event or in a SCRI object it works as expected.
If you use
in the Event Process the variable gets published always as '*TOP*' was used, up to the top WF. *TASK* and *WORKFLOW* are ignored.
This is inconsistent with the normal usage of PUBLISH:..... "TASK" within a normal script
Release : 12.3
Component : AUTOMATION ENGINE
The issue has been confirmed be a bug. The fix will be available in versions:
Automation.Engine 12.2.10 - available
Automation.Engine 12.3.7 expected end of october 2021
Automation.Engine 21.0.0 - available
A similar problem the :PSET function will be fixed with this correction. The values provided by :PSET in the Event Process will then no longer be forwarded to the grandfather workflow. Thus :PSET will also behave as documented.