Daily Gift Notifications with Gift Custom Fields, Receipt and Acknowledgement Flag
Hi
I've been scouring the PA examples and haven't found one (I may have missed it) that helps me figure these out. I've been tasked with building a daily list of gifts with their receipt flag (Receipted, Not Receipted, Do Not Receipt), Acknowledgment Flag and even some custom gift fields. I know I can use the Last function to grab the receipt flag, but I can't seem to get the correct syntax. This is wrong:
first(outputs('Get_a_gift')?['body/receipts/status'])
Does anyone know the correct syntax to use First or Last function?
Does anyone have a sample PA flow that captures Receipt, Acknowledgement fields and Custom Gift Fields?
Thank you
Cathy
Answers
-
Cathy, I use tools other than PA but custom gift fields are a separate end-point. I generally capture all gift data, including all gift attributes/custom-fields and put all that (along with a lot other data) in a DW. I can then do whatever reporting is needed with no other impediments.
0 -
first() and last() takes in an array. the array (list of) in question is receipts
so that would mean you need to:
first(outputs('Get_a_gift')?['body/receipts'])?['status']so same with acknowledgements:
first(outputs('Get_a_gift')?['body/acknowledgements'])?['status']as for custom field, you need to get custom fields by gift id first, then for each "category" of custom field you want to display, you will need to use a "Filter array" action on category=to the category you want.
if you know your category is unique, then you can use first() or last() as well.
if you know your category is not unique (1 gift can have more than one of the category you want to display), you are going to need to do a little more using Select action and join() expression.
0 -
Thank you both .. very helpful Alex .. I'll dive in further. :)
0
Categories
- All Categories
- 6 Blackbaud Agents for Good™
- Raiser's Edge NXT test
- 6 Blackbaud Community Help
- 212 bbcon®
- 1.4K Blackbaud Altru®
- 406 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.2K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 16 donorCentrics®
- 361 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 667 Blackbaud Grantmaking™
- 588 Blackbaud Education Management Solutions for Higher Education
- 3.3K Blackbaud Education Management Solutions for K-12 Schools
- 949 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 85 JustGiving® from Blackbaud®
- 6.8K Blackbaud Raiser's Edge NXT®
- 3.8K SKY Developer
- 251 ResearchPoint™
- 121 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 243 Member Lounge (Just for Fun)
- 38 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Closed) PowerUp Challenge: Grid View Batch
- 3 (Closed) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) 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
- 809 Community News
- 3K Jobs Board
- 57 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
