Attempting to output a filelist using filelist variable that references another variable, causes object to get stuck in “Resolving the variable” status.

book

Article ID: 87416

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
N/A

When trying to list all the files using wildcards in a certain directory, the Filelist Variable gets stuck in a status of  “Resolving the variable”.

The variable may be referenced by another variable, which may add up to already existing files in one directory; therefore, resulting in a large number of files which are to be listed.

Investigation

For example, VARA.STATIC.01 is referenced by VARA.FILELIST.LINUX variable that should list the files with the name "maria????.txt" in a certain directory. If there are a lot of files that need to be listed, the job that uses those variables would get stuck in “Resolving the variable” status for some time.


 

<Please see attached file for image>

0EMb0000001FazF.png

<Please see attached file for image>

0EMb0000001FazK.png

 

Cause

Cause type:
Other
Root Cause: When a Filelist Variable is listing a lot of files, it may take a long time to list all the files.

Environment

OS Version: N/A

Resolution

When working with lots of files, it is recommended that you break them up and place them in different directories so that the variable does not have to list more than 6,000+ files at once.

As an example, putting the files in two different directories, 3,000 files in each, would make it quicker, and it would take much less time (a couple of seconds) to list it.


Fix Status: No Fix

Fix Version(s):
N/A

Additional Information

Workaround :
N/A

Attachments

1558693224706000087416_sktwi1f5rjvs16m42.png get_app
1558693222944000087416_sktwi1f5rjvs16m41.png get_app