Volunteers- Find Deceased and Compare Dates
I want to do a flow that looks to see if a Volunteer is deceased so they can remove the Volunteer code. The code is under Custom Fields.
Limitations: I only want the ones that have been deceased in the last 90 days. There are a little over 5k coded. (List Constituents have a limit of 5k)
In the List Constituents I have the Custom Field Category and Date Modified limits. Is there any other way to limit List Constituents by deceased date?
Then I filter the array with Deceased Day is not equal to null
Now I want to see if the Deceased Date is greater than today-90 days.
I have this in a Compose:
formatDateTime(addDays(utcNow(), -90), 'yyyy-MM-dd')
Then I'm not sure how to get the Deceased Date into the correct format because it's split out into integers the Get a Constituent. I tried concatenate:
concat(outputs('Get_a_constituent-_All_Deceased')?['body/deceased_date/m'],'/',outputs('Get_a_constituent-_All_Deceased')?['body/deceased_date/d'],'/',outputs('Get_a_constituent-_All_Deceased')?['body/deceased_date/y'])
Then I have another Compose
formatDateTime(outputs('Compose-_Deceased_Date'),'yyyy-MM-dd')
Then I try to compare and it doesn't work.
I'm also tried doing ticks but then I say in a Condition if the Final Difference is greater than 90 it says it's not an integer.

Comments
-
@Carolyn Grant
Yes, fuzzy dates can be a challenge to work with.Can you give a little more info on what happens when you run this? Where is it breaking down, and are you getting any error messages?
0 -
@Ben Regier- Hi Ben- come to find out it wasn't an issue with the date format. I was getting this error in the Append to String so I thought it was the date but in reality it was because the person didn't have a deceased date at all.
Unable to process template language expressions in action 'Append_to_string_variable' inputs at line '0' and column '0': 'In function 'formatDateTime', the value provided for date time string '//' was not valid. The datetime string must match ISO 8601 format.'.
I ended up changing my filter for the filter array to Deceased Year is not equal to null instead of day and it works!
I did notice another problem with using Past Time which I'll post on another topic.
1
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