CRM Analytics - Event Monitoring Analytics app creation fails when at least two levels of Role Hierarchy is not defined
Einstein Analytics - Apps , Einstein Analytics - Templated Apps
Last updated 2022-06-06 ·Reference W-10868199 ·Reported By 22 users
In Review
Summary
A known issue is causing the Event Monitoring App creation to fail when the Salesforce org does not have at least two levels of Role Hierarchy defined.
Error message:
“Something went wrong while executing the FlattenRole node: parent_field does not have any data (all rows have null value): ParentRoleId”
Removing the FlattenRole node in the dataflow may fix the error, however, since the app creation failed, EventLog files are not uploaded and the dashboards are not populated with actual data.
Repro
To reproduce the issue:
Create the Event Monitoring Analytics app in an org with 0 or 1 level Role Hierarchy.
Workaround
Create at least two levels of Role Hierarchy and recreate the app.
1) In Setup, search for Roles and create two levels of Role Hierarchy. This can be a dummy role without any users assigned.
Example:
-Company Name
-- CEO (Top/First level)
---- EM Analytics App Workaround (Second level)
2) Once the roles are created, navigate back to Analytics Studio, delete the current Event Monitoring app and create a brand new app.
3) Please note, you won't see actual data until the next day. Schedule the Event Monitoring Analytics Daily Dataflow after 8am. Read through the Help article for more information. https://help.salesforce.com/s/articleView?id=sf.bi_app_event_monitor_schedule_dataflow.htm&type=5
Reported By (22)








Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.