Skip to main content

#UDR0 discussing

I was just working on a UDR designed to rollup the "Last Pledge Date" on the contact record.

 

To do this I created a "Pledge Date" formula field on the opportunity object using the following formula: 

 

IF ( AND( IsClosed = FALSE, IsWon = FALSE), CloseDate, NULL) 

 

The formula field works as designed.

 

The user defined roll up is then supposed to take the MAX "Pledge Date" value and store it in the "Last Pledge Date" field.

 

However, when I run the batch, the field created on the contact record called "Last Pledge Date" isn't being populated on any of the contact records. I'm also not getting any kind of error message when I run the batch .

 

At first I thought maybe I was using too many user defined rollups and exceeded a limit (I had 36 active including the Last Pledge Date one). So I deleted several of the rollups that only really needed to be run one time, but that didn't change the result

 

I saw @Sam Dorman had posted earlier about an issue when an opportunity has a NULL value in a date field being rolled up, and wondered if my issue might be related. In order to confirm this was a problem with the presence of a NULL value, I re-wrote the formula as follows:

 

IF ( AND( IsClosed = FALSE, IsWon = FALSE), CloseDate, Date (1900, 1, 1))

 

Now when I run the batch, every contact's "Last Pledge Date" field is equal to 1/1/1900, even if they have a more recent open opportunity. I've verified on numerous contacts that they have dates in the "Pledge Date" field that is more recent, but those dates are not being rolled up.

 

I've attached screenshots of my rollup definition and the formula field I created.

 

Any ideas?

 

I'm guessing this is still a bit of an unresolved issue based on this: https://github.com/SalesforceFoundation/Cumulus/issues/2494

 

#UDR  #User Defined Rollup 

@SFDO Open Source Contributors 

5 answers
  1. Apr 6, 2017, 4:53 PM
    No you're 100% right, this is one of the core reasons we established at the @NPSP Community Sprints in Baltimore to choose DLRS or RollUp helper vs. a Native feature.
0/9000

WEBINAR - Thursday, April 20th at 3 pm ET, Boost Donations with Data-Driven Fundraising: Lifetime Value and the Salesforce.org Nonprofit Success Pack:

 

Data-driven fundraising success is within your reach, even if formulas terrify you! In this power-packed webinar, we'll help you boost donations through solid data-driven strategies combined with powerful and easy ways you can extend the #NPSP to give you the numbers you need to succeed! A more valuable 45-minutes, you could not spend on April 20th at 3 pm ET. This is sure to be a hot ticket so register today to claim your spot with @Marisa Taylor and me!

 

@Soapbox Engage App @Soapbox Engage App (Partners) #User Defined Rollup #UDR #UDRlove #Fundraising 

Boost Donations with Data-Driven Fundraising: Lifetime Value and the Salesforce.org Nonprofit Success Pack

0/9000

WEBINAR - Thursday, April 20th at 3 pm ET, Boost Donations with Data-Driven Fundraising: Lifetime Value and the Salesforce.org Nonprofit Success Pack:

 

Data-driven fundraising success is within your reach, even if formulas terrify you! In this power-packed webinar, we'll help you boost donations through solid data-driven strategies combined with powerful and easy ways you can extend the #NPSP to give you the numbers you need to succeed! A more valuable 45-minutes, you could not spend on April 20th at 3 pm ET. This is sure to be a hot ticket so register today to claim your spot with @Marisa Taylor and me!

 

@Soapbox Engage App @Soapbox Engage App (Partners) #User Defined Rollup #UDR #UDRlove #Fundraising 

Boost Donations with Data-Driven Fundraising: Lifetime Value and the Salesforce.org Nonprofit Success Pack

1 comment
  1. Apr 5, 2017, 6:29 PM

    ** FUNDRAISING WEBINAR **

    Sometimes, the easiest way to bring in new donor dollars isn't with splashy marketing campaigns, but rather just looking at the donor data you already have. This webinar will help you unlock the data you already have about your supporters to increase your fundraising success.

0/9000

WEBINAR - Thursday, April 20th at 3 pm ET, Boost Donations with Data-Driven Fundraising: Lifetime Value and the Salesforce.org Nonprofit Success Pack:

 

Data-driven fundraising success is within your reach, even if formulas terrify you! In this power-packed webinar, we'll help you boost donations through solid data-driven strategies combined with powerful and easy ways you can extend the #NPSP to give you the numbers you need to succeed! A more valuable 45-minutes, you could not spend on April 20th at 3 pm ET. This is sure to be a hot ticket so register today to claim your spot with @Marisa Taylor and me!

 

@Soapbox Engage App @Soapbox Engage App (Partners) #User Defined Rollup #UDR #UDRlove #Fundraising 

Boost Donations with Data-Driven Fundraising: Lifetime Value and the Salesforce.org Nonprofit Success Pack

9 comments
  1. Apr 5, 2017, 5:59 PM
    @Tim Forbes we have a number of custom roll-ups for our development team already (mostly through DLRS) but excited to see more, we've been trying to push using data for development internally, so any extra tools really help!
0/9000