Declare all variables at the process level. Variables declared at the embedded sub-process level will not be recognized.
TIBCO ActiveMatrix Business Studio v3.6.0, support for local scope
data fields at an embedded sub-process has been added. Since we have the “Data Fields” config tab in all the activities, a validation rule has
also been added to avoid such errors. In case the local scope data
fields are not supported for an activity, the validation error will be
thrown in Business Studio.