Power Automate Creating a List of Gifts Added Yesterday
I'm trying to replicate a query we have in database view using Power Automate. The query simply gets all the gifts entered into the database yesterday.
Everything goes fine until the final step, the actual list creation. The array of Gift IDs I generate is not directly available to use in the IDs section of the Create List box for some reason, so I tried to use the output from a Compose box instead. It looks like, however, it's creating some sort of looped or nested array (note the [[ in the output of IDs). It is an array of integers.
Any advice or insight? Screenshots are below
The error:
[{"Message":"One or more identifiers provided were not in the expected format. All identifiers should have a type of 'integer'","ErrorName":"AppendIdsToListRequestInvalidNumberOfIds","ErrorCode":400,"RawMessage":"One or more identifiers provided were not in the expected format. All identifiers should have a type of 'integer'","ErrorArgs":[]}]

The flow itself (skipping the recurrence box at the beginning):




TY in advance!
Comments
-
Hey @Emmet OConlon, looks like you're converting your ID's to integers. The parameter for the ID's is an array of string values.
0 -
@Emmet OConlon
A few issue you have here, but i'm going to touch on only the error you got. So either you can fix that error or read the bottom for a more efficient way to do this without looping each gift.The Create a list from a set of records expects an array of STRING, not integer. But that's not your first issue. Your first issue is, you passed in an ARRAY of ARRAY of integers.
[[1,2]]
Instead, it is expecting an ARRAY of STRING only
["1", “2”]
So you can fix your flow to have array of string (basically just need 1 variable, and append to that 1 array variable the “ID” property which is STRING already.
OR
You can easily do this with the SELECT data action of flow:

3 steps and you are done 1 -
@Alex Wong @Matt Thacker Thank you both! I have it working now. I didn't realize I had to toggle the options on the ID(s) list. That's why I was getting the array of array error. Alex, your solution though is so much better and more elegant :-)
Weird that Microsoft gave me that error message about integers needed, but hey…
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 213 bbcon®
- 1.4K Blackbaud Altru®
- 403 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.2K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 656 Blackbaud Grantmaking™
- 577 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 940 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.7K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 249 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 241 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Open) 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
- 796 Community News
- 3K Jobs Board
- 54 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)


