Get constituent prospect status- Flow fails if empty
I have a flow that pulls in prospect status but when its empty I get the following error:
Action 'Get_constituent_prospect_status' failed
[{"message":"The requested operation could not be fulfilled","error_name":"RequestNotFulfilled","error_code":404,"raw_message":"The requested operation could not be fulfilled","error_args":[]}]
I can't figure out how to look at the Get Items before it runs. This is run by one person at a time.
I can't filter the array, there are no trigger conditions under settings. I have tried doing a condition if empty but it doesn't get that far.


Thanks,
Carolyn
Comments
-
@Carolyn Grant
We're checking with folks here at Blackbaud to see if we can make an adjustment to that API Endpoint / Connector action. In the mean time, this may be an alternative solution (or may prompt ideas from others).After that "Get constituent prospect status" action, create a Condition. Once you create that condition, click the three dots the right and select “Configure run after”.

On the resulting screen, check: “is successful” and “has failed” and then click done:

In the Condition Value, select expression and enter
length(coalesce(outputs('Get_constituent_prospect_status')?['body/status'],''))
And then “is greater than” and 1 . The on the yes side, put in what you want to happen when there is a status and on the no side when there is no status.

What this is doing:
- Making the condition run regardless if the “Get constituent prospect status” passes or fails.
- The coalesce function is a short-hand if/then to say "hey, if there is a status use that, if not, replace it with an empty result". Empty and null are two different things.
- The length part of the expression returns how long the status result is.
- If it's greater than 1, then there's something really there and follow the ‘yes’. Otherwise, follow the ‘no’.
1 -
THANK YOU!! That worked!
I had tried to do configure run after on the next item in my flow but it didn't work. I read about the coalesce function in Google but I wasn't sure if it would work here so thank you for your expertise.
1
Categories
- All Categories
- 6 Blackbaud Community Help
- 213 bbcon®
- 1.4K Blackbaud Altru®
- 400 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 655 Blackbaud Grantmaking™
- 576 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 939 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.6K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 241 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 34 PowerUp Challenges
- 3 (Open) 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
- 790 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)

