Error calculating the segment record counts: Invalid source code for segment '[segment name]'

When calculating segment counts, this error may appear:
An error occurred before executing the process 'Marketing Effort Segment Record Count Calculation': Error calculating the segment record counts: Invalid source code for segment '[segment name]'. The invalid section of the source code is of type 'User Defined' and is named '[name]'. Please enter a valid code for the marketing effort. 

 
We are currently evaluating this issue and will update this article when we have more information.  

In the meantime, to potentially work around this issue: Go to the effort settings tab, edit the source code, click save.

Steps to Duplicate

  1. Create a Marketing Effort
  2. Ensure the Marketing Effort uses a source code that is a list
  3. Select the Effort Settings tab, select a value for the source code parts
  4. Add a segment
  5. Select Edit on the segment
  6. Select the Source Code tab
  7. For the Source code part that has a list, select the format to be <by marketing effort>
  8. Create a new Marketing Effort-setting up everything the same way
  9. For Segments, select to copy from another effort
  10. Copy for the first effort that was created
  11. For the segement, select Edit
  12. Select Source Code
  13. Notice for the source code part that uses the format of "by marketing effort", the value exists in the column
  14. Go back to the first Marketing Effort, notice a value exists in that column
  15. Attempt to Calculate Segment counts for the second Marketing Effort-See error

Environment

 Blackbaud CRM
 4.0

Was this article helpful?