Powershell Function __uc_return not available in HEADER.WINDOWS object

book

Article ID: 87960

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
__uc_return : The term '__uc_return' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.

In the documentation for the Process Tab you can find a section describing the usage of the function __uc_return as a means to abort a Windows job with the value of the $LastExitCode which is an equivalent to %ERRORLEVEL% available for batch scripts.

This function description was added by mistake and is not available in the supplied HEADER.WINDOWS object.

Therefore, the description of the function will be removed from the documentation.

References

Automation Engine v11.2 Documentaton:

Cause

Cause type:
Defect
Root Cause: Incorrectly documented in AE documentation.

Environment

Release: AUTWAB99000-11.0-Automic Workload Automation-Base Edition
Component:

Resolution

Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Component(s): Documentation Guides

Automation Engine 12.1.0 - Available
Automation Engine 12.0.2 - Available
Automation Engine 11.2.4 - Available

Additional Information

Workaround :
N/A