on 2024 Jul 04 9:09 AM
Hello Experts,
We are using flow builder in one of the progressive profiling feature, where phone number is captured and verified. so the flow is,
We are facing issue at step 4 where condition (account.phoneNumber) is always flowing to "false" even after verification of phone number at step 3.
Are these conditions pre-loaded when we trigger the flow?
your thoughts are much appreciated.
Thanks
Rohit
Hi @grohitg238 Rohit, I verified the same on my end, and it worked fine.
I was using the below JS expression to test if the phoneNumber exists.
If the step 4 is not working, how about the step 2? Could you please share your JS expression?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Samuel,
I'm using only "account.phoneNumber" as condition to check value if exists, and "! account.phoneNumber" to check if value doesn't exists.
similar we use in JavaScript code to check if data exists or not.
There can be any value other than Null e.g.' ',undefined,false,0,NaN can be stored for a field, hence did not add only null check.
This is working,
account.phoneNumber !== null && account.phoneNumber !== undefined && account.phoneNumber !== NaN && account.phoneNumber !== '' && account.phoneNumber !== 0 && account.phoneNumber !== false
Thanks
Rohit
Hi Samuel,
We have email verification process already in place at the time of registration, hence isVerified, verified, or verifiedTimestamp these attributes are already set with values for the user. We are not able to differentiate phone verification flags using above attributes. We tried with custom data field for phone number verification status, it works.
Thanks
Rohit
User | Count |
---|---|
12 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.