Custom Expression Language functions and variables

This topic lists custom Expression Language (EL) functions and variables that can be used within the Advanced Routing file processing. For information on additional Expression Language expressions, refer to Expression Language.

Exceptional case: absolute path to sandbox folder in EL expressions

Problem summary: With SecureTransport deployments on Windows Server, attempts to use a configured absolute path to sandbox location in an EL expression may fail and return an error.

Problem details:

  1. You set an absolute path value for the sandbox location in the 'AdvancedRouting.sandboxFolderLocation' server configuration option.
  2. You configure use of EL expressions: set the 'AdvancedRouting.sandboxFolderLocation.expressionLanguage' configuration option to 'true'.
  3. When you attempt to use an expression (for example'\\10.232.2.103\Shared\sandbox\${env['DXAGENT_ACCOUNT_TYPE']}' ), you might get errors in the Server Log.

Possible cause: The issue is configuration based and relates to the allowed remote storage for 'Users' to create symbolic links (configurable in 'secpol.msc' where 'Users' must be added in - Security Settings > Local Policies > User Rights Assignment > 'Create symbolic links'). The problem occurs only in the case when the user's home folder and the sandbox custom folders are both set to one or more remote storage machines.

Solution: This problem might occur because by default remote to remote symbolic links are disabled. You can enable it with fsutil.

C:\Windows\system32>fsutil behavior query SymlinkEvaluation

  • Local to local symbolic links are enabled.
  • Local to remote symbolic links are enabled.
  • Remote to local symbolic links are disabled.
  • Remote to remote symbolic links are disabled.

C:\Windows\system32>fsutil behavior set SymlinkEvaluation R2R:1 C:\Windows\system32>fsutil behavior query SymlinkEvaluation

  • Local to local symbolic links are enabled.
  • Local to remote symbolic links are enabled.
  • Remote to local symbolic links are disabled.
  • Remote to remote symbolic links are enabled.

Be sure to run fsutil from elevated command prompt.

The following topics provide detailed lists of the custom Expression Language functions and variables that can be used within the Advanced Routing file processing:

Related Links