Error oracle.xquery.XQException: XPST0008 Variable Not In Scope When Executing a Script (Doc ID 1618867.1)

Last updated on OCTOBER 18, 2016

Applies to:

Oracle Utilities Framework - Version 2.2.0 and later
Information in this document applies to any platform.

Goal

A CM script is created. In step 20 of the script, a variable $computeUsingWorkDays is defined and assigned a soft parameter value. But in steps 30 and 40, when these steps are executed, an error is raised that the variable is not in scope.

ERROR:

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms