Substitution Variables are not being mapped correctly in BWSE implementation.

Substitution Variables are not being mapped correctly in BWSE implementation.

book

Article ID: KB0085864

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Service Engine -
Not Applicable -

Description

Resolution:
Description:
========
If there are 3 Global Variables (GV) with the name "port" in different folders and they have different values, then the value is substituted by just one substitution variable.

Solution:
======

When the "Service" field is checked at the Global Variables (GV) level (Designer), all GVs are promoted as Substitute Variables. The Substitute Variables do not support grouping or folder structure. They only pick up the names of GV as the result. If two GVs have the same name but are located in two different folder structures (like - /folder1/name1 and folder2/name1), AMX drops the folder name and picks only name1 and uses it for all GVs that are in different folder structures with the same name.

There are two workarounds for this issue:


1). Make sure all GV names are unique under different folder structures.
2). Uncheck the "Service" field from GVs.

Issue/Introduction

Substitution Variables are not being mapped correctly in BWSE implementation.