Hi All,
I'd like to populate Child shapes based on 2 conditions based on a custom service property.
A: Property:E2E Service Type=TypeA
B: Property:E2E Service Type=TypeB
I'd like this to be a A or B condition. i.e. Child shapes should be generated when either of the condition is met.
For that purpose, I created the shapes with the below Shape data. But it returns an empty section with no child shape populated.
The Childrenfilter works individually when tested. (Property:E2E Service Type=TypeA)
I believe the syntax when implementing both the properties is where I'm missing something and would greatly appreciate any ideas to get it to work.
Thank you in advance!
Hi Rajesh,
The syntax is described here: Generating shapes based on child items in a view or a service | DataMiner Docs
The ChildrenFilter allows indeed for property values. If the name of the property would differ (and thus you need an AND operation), then you can simply use the '|' character: Property:E2E Service Type=TypeA|Property:OtherProp=OtherValue
As you need an OR operation on the property, you will need to use Regex to accomplish this. In order to have this working the '|' will be used as OR, so you'll have to change the sepator to another character.
[sep:|$]Property:E2E Service Type=TypeA|TypeB
Hope this helps you further!
Jarno
Hi Jarno, that worked perfectly. Thank you!