Publish not working as expected
search cancel

Publish not working as expected

book

Article ID: 192792

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

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

Environment

Release : 12.x

Component : AUTOMATION ENGINE

Resolution

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.