Symptom
Purge summary report shows the workflows number different than Admin Alerts 2.0
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
Reproducing the Issue
- Go to Data Retention Management page
- Create a new Purge Request with user status as Active & Inactive (with Country option)
- Add approver as admin user
- Launch Immediately action (please refer the screen-shot below)
- Go to Purge Request Monitor page and download Preview Report file from Requests Pending Final Approval.
- We can see that workflow file that Purge Summary All Workflows= X (number) for a user
- Go to Admin Alerts 2.0 page and Admin Alert Type as Stalled Workflows - Employee Related.
- Filter the list with user and we can see around Y Alerts (number) there for user (which is more or less than number Preview Report)
Cause
Both Admin Center 2.0 and DRTM Workflow Purge are correct. The numbers from two tools are not relevant
Resolution
Admin Center 2.0 is reporting for stalled workflow (workflow request in pending status). In some case, they are all TimeOff and TimeSheet related workflow requests.
DRTM Workflow Purge is targeting for workflow in all status, including Pending (stalled) status and other status. And with exception of Time Off and Time Sheet. The pending (stalled) workflow requests of Time Off and Time Sheet are excluded, they are not purgeable.
The logic of DRTM Workflow Purge for MDF workflow is
- Only user based objects are in this scope
- This DRTM workflow purge will follow Data Retention Policy
- MDF modules have own logic to skip the purge for module specific object. We have found 6 MDF objects based on code search. (From workflow perspective, they all refer to pending workflow requests.)
- TimeOff skip purge for data in status of PENDING or PENDING_CANCELLATION
- TimeSheet, TimeAccountPayout, TimeAccountPurchase, AttendanceRequest, skip purge for data in PENDING status
- SpotAward skip purge for data in INPROCESS status
See Also
KB article 2628645 - How to set up Workflow Purge via Schedule job for DRTM Workflows
KB article 2857526 - DRTM for Workflows Report in SuccessFactors Employee Central
Keywords
sf, success factors, EC, work flow, purge, Audit, Report, Preview Report, Admin Alerts 2.0, Admin Alerts , KBA , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , LOD-SF-EC , Employee Central , Problem
Product
Attachments
Pasted image.png |