Announcements
Hi,I am trying to hide and show data card property with following code.If((VarRecord.'Approver Status'.Value = "Pending" && VarRecord.'Approver email' =CurrentUser ), true, false)Currently if currentuser is approver and value is "Pending" then data card is visible. That part is correct and I dont want to change anything in it. I want to add if HR person and approver both are current user then hide the datacard. HR person belongs to this : VarRecord.'HR person email' Help me out if you know the condition!!
Hi,
try this one
If(( VarRecord.'HR person email' =CurrentUser && VarRecord.'Approver email' =CurrentUser ), false, If((VarRecord.'Approver Status'.Value = "Pending" && VarRecord.'Approver email' =CurrentUser ), true, false ) )
Thank you! @Jitendra_jangid It worked. 😃
Hi @nrvrvl ,
Would it be this
VarRecord.'Approver Status'.Value = "Pending" && VarRecord.'Approver email' = CurrentUser && VarRecord.'HR person email' <> CurrentUser
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 411 Super User 2026 Season 2
Mohsin Ali 338
WarrenBelz 256 Most Valuable Professional