Job triggered by MRT overwrites variable
search cancel

Job triggered by MRT overwrites variable

book

Article ID: 218369

calendar_today

Updated On:

Products

CA Automic One Automation

Issue/Introduction

In a Workflow, when using the MRT (Maximum Run Time) option, the Task that is triggered has wrong values for variables, leading to unexpected behavior.

Environment

Release : 12.2

Component : AUTOMATION ENGINE

Cause

The job triggered by MRT is considered to be a child task of the job or workflow that triggered it. It therefore inherits values of its parent. This can lead to unexpected results.

Resolution

This behavior is documented:

https://docs.automic.com/documentation/webhelp/english/AA/12.3/DOCU/12.3/Automic%20Automation%20Guides/help.htm#AWA/Objects/obj_Variable_Page_Inheriting.htm

 

To avoid this behavior consider the following workarounds:

  • Set "Inherit from Parent=NO" in the Workflow triggered by MRT.
  • Use a Promptset to define the variable. A Promptset overwrites a previously received value for a variable.