Looks getting error due to incorrect association path.
Please try with similar given below.
[Item_Stock_Location/Stock_Location/Country = $SelectedCountry]
[Item_Location/Location/Location_Stock_Location/Stock_Location/Country = $SelectedCountry]
[Item_Stock/Stock/Stock_Stock_Location/Stock_Location/Country = $SelectedCountry]
Hello,
Country attribute is an enumeration, so it must be compared with an enumeration of same type not with the path. The first part of your expression is fine change the second part to $Selected_Country_Filter/Country (I am assuming you have this $Selected_Country_Filter this object on the page) or $currentObject/Country.
Hope this helps!
Thanks & Regards,
Amit Gupta
Hi,
If you're adding a separate button for each country, you can retrieve the corresponding Location from the database using xpath [Country=$Parameter] or [Country='USA'] and then fetch the related Items through the association.
Hi ,
As i understand your error statement,
Try as below,
Either hardcode the country value as per the Enumeration value or try to create Enum in the microflow use it.
Hope this helps.
If not please help me with some page screenshots those can helps to understand better.
Satya Reddy