Posted: 25 Aug 2016 9:26 EDT Last activity: 27 Oct 2016 6:50 EDT
How to write when rule in XML
Could you please help me to customize for a scenario regarding XML.
I have a working XML now. I need to write a when condition to contains/startswith search in <pega:forEach> tag. this <pega:foreach> is referencing pagelist (say AppNames(1),AppNames(2)...) from different class (say Rule-Application) but our main XML is in my application class(say ABC-FW-Work). Now I need to check AppName property from each page in pagelist in a when condition. I created the when rule(say MyWhenRule) in Rule-Application class but getting error because system is searcing it in ABC-FW-Work class.
how to make it work? I have tried below things so far but could not make it work.