Primary Email not Empty and Inactive?
Email question: I'm pulling from the Constituents connector, Get a Constituent and something has me baffled.
I want to display the primary email address but only if it is active. Primary email and also be marked inactive in NXT.
I have a condition that says
empty(outputs('Get_a_constituent-_Donor')?['body/email/address']) = false
AND
outputs('Get_a_constituent-_Donor')?['body/email/inactive'] is equal to No
This returns false everytime. I don't understand why. My false is an expression. The No is a text field. I have another flow that uses OR but that doesn't make sense either.
Thanks,
Carol
Comments
-
@Carol Grant
the email property of a get constituent (or list constituent) api provide the subproperty of inactive, primary, and do_not_email as boolean. So they are all true or false valueI did a quick test and get and list constituent API endpoint after changing my primary email to inactive, and get constituent does not return the email property.
Meaning, if list constituent behave the same as get constituent, then if you got a email proeprty back from get constituent, it is not going to be inactive.
if you have to test for it, it will be more like this:
empty(outputs('Get_a_constituent-_Donor')?['body/email/address']) = false
AND
outputs('Get_a_constituent-_Donor')?['body/email/inactive'] = false
1 -
@Alex Wong- Thank you! I got in my mind it had be “No” because that was what was returned.
0 -
@Carol Grant
were you able to get it to work?maybe you thinking “No” in terms of query output giving you “Yes” or “No” for boolean values. API will always give true/false
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 206 bbcon®
- 1.4K Blackbaud Altru®
- 394 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 357 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 646 Blackbaud Grantmaking™
- 561 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 934 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.4K Blackbaud Raiser's Edge NXT®
- 3.6K SKY Developer
- 242 ResearchPoint™
- 117 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 238 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 28 PowerUp Challenges
- 3 (Open) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 777 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)

