SAP Knowledge Base Article - Public

3070334 - Missing group under Dynamic Group Recipient Builder in Email Services - Onboarding

Symptom

In Dynamic Group Recipient Builder, onboarding dynamic groups are missing.

Environment

SAP SuccessFactors Onboarding

Reproducing the Issue

  1. Go to Email Service and open the affected template
  2. Under Step 3, Define Email Content >> To Recipient Builder >> Dynamic Group Recipient Builder
  3. Click Group name dropdown, Onboarding Dynamic groups does not show up in the list. 

Cause

  • There are more than 1000 dynamics group.
  • The dynamic group selector in the email template, and email category, page uses a list. Since the list of dynamic groups fetched are done via Odata, if there are more than 1000 entries, it truncates with the 1st 1000 entries (Odata limit). 

Resolution

Product Engineering is investigating a solution.

Click on star to bookmark this article to receive updates about this issue. For more information about updates from subscribed KBAs see KBA 2171560.

To check how many groups created to the instance:

  1. Go to Manage Permission Group
  2. Click the item per page to 150
  3. Multiple 150 to the number of pages (150*20=3000)
  4. Go to Manage Onboarding Dynamic Groups (3 groups)
  5. Add the number permission group and onboarding dynamic group (3003 in total) 
  6. As the total number of groups is 3003, only the first 1000 returned groups will show up, hence onboarding group type is missing. 

Workaround:

Please edit the email template from Manage Data and save the required permission group to see the results.

Here are the steps:

  1. Login as an admin
  2. Navigate to Admin center -> Manage data
  3. Select Object Type as EmailTemplate and search for the template name.
  4. Click on Make Corrections.
  5. Provide the data as mentioned below(replace <PermissionGroupName> with the required permission group. Ex. if permission group is ONB then it should be 
    {"groupId":"ONB"}
    ) :
    1. toRecipientsBuilder: 
      com.successfactors.emailframework.recipientsBuilder.DynamicGroupRecipientsEmailBuilder
    2. toRecipientsBuilderArgs:
      {"groupId":"<PermissionGroupName>"}

Additionally, ensure you have the "EmailTemplate" permission under Email Framework Object Permissions granted to your admin role, or whichever role that will be configuring this.

Note: On the email template the Recipient Builder will now show as $$EVERYONE$$ . This is expected behaviour. It has been confirmed by engineers that the email will not send to everyone, only the recipients configured in Manage Data. 

See Also

KBA 2171560 - How to be notified of new or updated SAP Notes or KBAs

Keywords

Dynamic, Group, Recipient, Builder, Onboarding, Dynamic, groups, toRecipientsBuilder, toRecipientsBuilderArgs, OBX, Onboarding, Email, Template, Permission, Group, Email, Services, OBX-39636, $$EVERYONE$$  , KBA , LOD-SF-OBX-EML , Notifications , Problem

Product

SAP SuccessFactors Onboarding all versions