Nested Interface With Rule Input Starting With 'temp'

Certified Senior Developer

Hi All

I have encountered a very strange behaviour where I create an interface in an a!foreach.

When using the two pieces of code it displays the interface for each of the parents but as soon as i edit one it deletes any subsequent parents and removes the interface:

CODE1: With strange behaviour

a!forEach(
items: ri!tempBom,
expression: a!sectionLayout(
contents: rule!PDP_uiRecipeAndPackagingDecisionQuestions(
tempBOM: fv!item,
newProductRequired: true,
packagingTempComponents: ri!packagingTempComponents,
blendTempComponents: ri!packagingTempComponents,

),
showWhen: local!activeStep = 2 + fv!index
)
)

If I change the input name on the child to the just 'BOM', and change it at the parent, it all works perfectly

CODE1: With correct behaviour

a!forEach(
items: ri!tempBom,
expression: a!sectionLayout(
contents: rule!PDP_uiRecipeAndPackagingDecisionQuestions(
BOM: fv!item,
newProductRequired: true,
packagingTempComponents: ri!packagingTempComponents,
blendTempComponents: ri!packagingTempComponents,

),
showWhen: local!activeStep = 2 + fv!index
)
)

It seems as though somehow APPIAN doesn't like the word temp, can anyone shed some light as to why? This issue is resolved but would just like to learn a bit more.

  Discussion posts and replies are publicly visible