When using :PUBLISH in the Post-Process section of a job with the context WORKFLOW, the next Task does not pick up the values.
:SET &VAR#=VALUE
:PUBLISH &VAR#,,"WORKFLOW"
In the next Task the :PRINT statement only shows: &VAR# instead of VALUE
Release : 12.x
Component : AUTOMATION ENGINE
In the Attributes tab for all objects that need the published value use Generate Task at "Runtime".
This way the Task is not generated before publishing the variable and its value.