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
- 209 bbcon®
- 1.4K Blackbaud Altru®
- 395 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 648 Blackbaud Grantmaking™
- 567 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 937 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.5K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 247 ResearchPoint™
- 118 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 239 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 31 PowerUp Challenges
- 3 (Open) 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
- 782 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)


