Error adding Fund to a receipt.
I am looking to add a Fund to a receipt. I am following the instructions from the mini-lab video: Power Automate Mini Skills Lab - Fund Description and Payment Method - YouTube .

But I am getting this error.

Anyone see what I might be doing incorrectly?
Comments
-
Hi @Reuben Schmitz, add a question mark after the [0]. So it should read:
['gift_splits'][0]?['fund_id']
0 -
Reuben Schmitz - Matt Thacker is correct that adding a ? can often time avoid those issues. However, in testing it, I'm not seeing an error without it, but that's typically when it's part of a loop. Can you post the context of that Get a Fund? Is it part of a Loop, a one-off, etc? The context may change the suggested approach.
0 -
Glen,
I have created a gift button to create a single receipt letter. There is no loop. Here is more of the flow for reference. The extra ? didn't make any difference.
0 -
I know that the video example used a list - does it make any difference for the expression that this is for a one-off gift, not a list?
0 -
The error says that it can't select Gift Splits, but looking at the json for the gift, this data appears to be present.
0 -
Reuben Schmitz:
I know that the video example used a list - does it make any difference for the expression that this is for a one-off gift, not a list?
That particular code is assuming that it is an item in a list. The code would be different if it's a one-off. Assuming you didn't rename the original ‘Get a gift’ (which it doesn't appear you renamed), then try
outputs('Get_a_gift')?['body/gift_splits'][0]['fund_id'] .
0 -
Glen, that was the problem and the solution. Thanks for the assist. Still trying to get a handle on Expression use and syntax.
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