Validation errors occur when invoking one Rule function (RF1) from another Rule function (RF2) with "validity = QUERY".

Validation errors occur when invoking one Rule function (RF1) from another Rule function (RF2) with "validity = QUERY".

book

Article ID: KB0092532

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Description:
Validation errors occur when invoking Rule function (RF1) from another Rule function (RF2) having "validity = QUERY". The error message appears in BusinessEvents Studio in the problems tab. The general format of the error is "function "function_name" is not allowed with validity "Query"".


Examples:
function "ValidateCredit" is not allowed with validity "Query"
function "CreateShipment" is not allowed with validity "Query"


Symptoms:
Users unable to build the project EAR file due to validation errors.

Cause:
There is a limitation calling one QUERY Rule Function from another QUERY Rule Function.

Resolution

The workaround would be to copy the contents of the called RF1 into the calling RF2. BE-22316 defect created to fix this issue.

Issue/Introduction

Validation errors occur when invoking one Rule function (RF1) from another Rule function (RF2) with "validity = QUERY".

Additional Information

BusinessEvents Engineering