You need to sign in to do that
Don't have an account?
Dhanalakshmi Raajasekar
Hi, Please help me to solve this
In screen flows, I have two fields in account like reading 1 and reading 2, The requirement is that they can enter either reading 1 or reading 2 but not both Value and must be greater than zero “0” . I want vaidation on the screen flow. Plase help me to sort this
Considering you have not added it in the account and added these fields in the screen flow and getting inputs from the user...
Add decision element
Check 1
CR1: Reading 1 is Not Null = True
CR2: Reading 2 is Not Null = True
(CR1 AND CR2)
connect Screen flow with error: can enter either reading 1 or reading 2 but not both
Check 2
CR1: Reading 1 is Not Null = True
CR2: Reading 2 is Not Null = True
CR3: Reading 1 < 0
CR4: Reading 2 < 0
(CR1 AND CR3) OR (CR2 and CR4)
connect Screen flow with error: must be greater than zero “0”
All Answers
Considering you have not added it in the account and added these fields in the screen flow and getting inputs from the user...
Add decision element
Check 1
CR1: Reading 1 is Not Null = True
CR2: Reading 2 is Not Null = True
(CR1 AND CR2)
connect Screen flow with error: can enter either reading 1 or reading 2 but not both
Check 2
CR1: Reading 1 is Not Null = True
CR2: Reading 2 is Not Null = True
CR3: Reading 1 < 0
CR4: Reading 2 < 0
(CR1 AND CR3) OR (CR2 and CR4)
connect Screen flow with error: must be greater than zero “0”
CR3: Reading 1 <= 0
CR4: Reading 2 <= 0