Contact Addressee/Salutation Fields
I have been able to successfully pull into my letter the contact name on org relationships. But I can't find how to reference their first name, or use the primary addressee/salutation fields. Does anyone know how to call those fields or if they even exist?
Comments
-
Amanda -
If I'm thinking about this correctly, the Org Contacts are referenced through the relationship to the Org, right? Do you get the system record ID of the contact in the return from that call? If so, you can use that to look up the Addressee/Salutations from a Get Name Formats action.
Let me know if I'm answering your question.
1 -
I was able to get this to work, but with some work-arounds.
I had to use a conditional statement to call the contact ID. Because not every record has a contact, it would return “null” if I only included the contact id. This resulted in an error that prevented the flow from running.
So I used a conditional statement to use the contact ID if available, and if not, to just use the constituent ID. Not ideal, as I then had to use some conditions further down the flow to address this. But it seemed to work.
If there is a better work-around for the “null” issue, let me know.
0 -
Amanda Holt:
I was able to get this to work, but with some work-arounds.
I had to use a conditional statement to call the contact ID. Because not every record has a contact, it would return “null” if I only included the contact id. This resulted in an error that prevented the flow from running.
So I used a conditional statement to use the contact ID if available, and if not, to just use the constituent ID. Not ideal, as I then had to use some conditions further down the flow to address this. But it seemed to work.
If there is a better work-around for the “null” issue, let me know
I would suggest using expressions over conditionals. Conditionals should be used more for error handling, whereas an expression using the if function will check a condition and return a value if true and a different value is false. Either way is fine, but using conditionals you might find yourself having to add a lot of duplicate steps.
0 -
Thanks, Matt! The terminology you used is probably more accurate for what I did, since I did use an expression:
if(empty(body('Filter_array_-_Contact_Name')?[0]?['relation_id']),outputs('Get_the_Donor''s_information')?['body/id'],body('Filter_array_-_Contact_Name')?[0]?['relation_id'])
Because this expression is in a “get constituent name format summary”, it would not accept a blank or null response (which is what I wanted).
0 -
@Heather McLean
Hi Heather,When I try to add get a name formats and add the constituent id, it automatically add “Apply to Each” to my flow. Is there any way to have it not show up?
0 -
Hi @Miriam Cai, if it's applying an Apply to Each when you insert the constituent ID, that means the source you're pulling into Get a Name Format action has the constituent IDs in an array (a list, essentially). Can you elaborate a bit on where the data for your flow is originating (NXT List, Constituent record button, etc.) and what you're trying to do?
0
Categories
- All Categories
- 6 Blackbaud Community Help
- High Education Program Advisory Group (HE PAG)
- BBCRM PAG Discussions
- Luminate CRM DC Users Group
- DC Luminate CRM Users Group
- Luminate PAG
- 186 bbcon®
- 1.4K Blackbaud Altru®
- 389 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 14 donorCentrics®
- 355 Blackbaud eTapestry®
- 2.4K Blackbaud Financial Edge NXT®
- 616 Blackbaud Grantmaking™
- 542 Blackbaud Education Management Solutions for Higher Education
- 33 Blackbaud Impact Edge™
- 3.1K Blackbaud Education Management Solutions for K-12 Schools
- 909 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 207 JustGiving® from Blackbaud®
- 6.2K Blackbaud Raiser's Edge NXT®
- 3.5K SKY Developer
- 236 ResearchPoint™
- 116 Blackbaud Tuition Management™
- 375 YourCause® from Blackbaud®
- 160 Organizational Best Practices
- 232 The Tap (Just for Fun)
- 31 Blackbaud Community Challenges
- Blackbaud Consultant’s Community
- 19 PowerUp Challenges
- 3 Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 Raiser's Edge NXT PowerUp Challenge: Events
- 3 Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 Raiser's Edge NXT PowerUp Challenge #1 (Query)
- 71 Blackbaud Community All-Stars Discussions
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 743 Community News
- 2.8K Jobs Board
- Community Help Blogs
- 52 Blackbaud SKY® Reporting Announcements
- Blackbaud Consultant’s Community
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
- Blackbaud Francophone Group
- Blackbaud Community™ Discussions
- Blackbaud Francophone Group