ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

When using PREP_PROCESS_FILENAME without a login object, the Windows Agent gives a 5002 error

book

Article ID: 145907

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic Workload Automation - Automation Engine

Issue/Introduction

When executing a PREP_PROCESS_FILENAME script or a File Event without passing a login object, the Windows Agent could generate:

Unable to decode password for RunID: '939513872', reason: 'Wrong parameter provided, 5002.'.

Cause

Improper handling of script command without expected parameters

Environment

Release : 12.1, 12.2, 12.3

Component : AUTOMATION ENGINE

Resolution

A problem has been fixed where the Agent Windows would log the message "Unable to decode password for RunID:'', reason: 'Wrong parameter provided," when executing PREP_PROCESS_FILENAME without a login object.

This is included in the Agent Windows as part of:

Automation.Engine 12.1.8 
Automation.Engine 12.2.5
Automation.Engine 12.3.2