DUAS 6: File Resources with system variables in the Path are no longer detected

book

Article ID: 87166

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

Error Message :
N/A

Patch level detected:Dollar Universe 6.6.01
A File Resource is not being detected when a Linux/Unix environment variable (Ex. $HOME) is used in the path definition of the Resource in version 6.x.
However, in version 5.x it is properly resolved.
The result is that the resource condition is not met and the associated U
proc
goes into an Event Wait status.

Product Version: Dollar.Universe 6

Cause

Cause type:
By design
Root Cause: The variable naming convention has changed from version 5.x to 6.x.

For File type resources, the file name and file path can include any variable elements. The variable must be delimited with a pair of exclamation marks (format: !VARIABLE_NAME!). The variable values can be derived from MU variables, node variables, node settings or system environment variables and are searched for in that order.

Environment

OS: All Linux/Unix
OS Version: N/A

Resolution

To resolve this issue,  the system variable $VARIABLE must be replaced by !VARIABLE! in the File Resource definition.
For example,  replace $HOME with !HOME!


Fix Status: No Fix

Additional Information

Workaround :
N/A