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?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.