2628645 - How to set up Workflow Purge via Schedule job for DRTM Workflows

SAP Knowledge Base Article - Public

2628645 - How to set up Workflow Purge via Schedule job for DRTM Workflows

Symptom

 How to Set up Workflow Purge via Schedule job for DRTM Workflows

Environment

Employee central - Workflow

Resolution

Pre-condition:

  • The instance need to turn on RBP, MDF;
  • Prepare workflow data that need to be purged

End-to-End scenario:

In order to enable workflow purge, you can follow the steps below:

  • Upgrade DRTM module entity through upgrade center. 
  • Go to upgrade center, upgrade DRTM Employee Central and DRTM Workflows content so that the module specific DRTM objects are available in MDF "manage data"; 

1drtm.png

Configure RBP or Role Base Permission

  • Go to RBP screen and enable the permission for DRTMWorkflowPurgeObject and Date retention group.

2drtm.png

.

3drtm.png

.

33drtm.png

Configure MDF workflow purge object. 

  • Go to "Manage Data..." UI, Create or open "DRTM Workflow Purge Objects" and set you desired values for country, retention time
  • Here you can set only 2 types of workflow purge object: DRTM_COMPLETED_WORKFLOWS and DRTM_ALL_WORKFLOWS.

34drtm.png

  • Please note that configuring the countries which shall be controlled by data retention times, set "Data Retention Enabled" filed as "Yes", so that those countries will show in DRTM purge objects;
  • Create a new purge request in the page of data retention management and then schedule or launch it immediately

8drtm.png

.

7drtm.png

  • Approve this workflow purge request. Then workflow purge will start if you select "Launch Immediately"

10drtm.png

  • Open "Approved Requests" tab page, you can review the preview report.

11drtm.png

  • Once job is completed, you can download the completed report by clicking "View history" button

12drtm.png

  • The completed report looks like below

13drtm.png

See Also

2608124 - Cannot Select Country While Creating DRTM - Employee Profile in Manage Data

Keywords

DRTM Workflows , Workflow, Purge , KBA , LOD-SF-EC-WFL , Workflow & Trigger (Rules & XML) , How To

Product

SAP SuccessFactors HCM Core 1802