How to do validation over association?

0
Hi I am building a customer management module where I want to Validate the Customer entity by ensuring the associated Administration.Account entity to be UserRole_Sales. I have created a validation microflow for the Customer entity, however, it seems that microflow cannot access any userrole '[%UserRole_Sales%]'?   Please provide your valuable suggestion
asked
2 answers
0

Did you check security levels for user role  '[%UserRole_Sales%]'?

answered
0

Hi Ethan,

           Reterive the '[%UserRole_Sales%]' userrole entity 

check the reterived object is empty or not?

Reterivedaccount!=empty

answered