Administration Guide › How to Perform Data Transformations › Define and Send Escalation Emails › Create and Apply Data Transformations › Delete Users with Expired Role Memberships
Delete Users with Expired Role Memberships
To ensure that managers do not certify invalid role memberships, delete users with expired role memberships based on the end date.
Follow these steps:
- In PDI, in the Design tab, locate and expand the Flow step, select Dummy (do nothing), and drag it to the Transformation screen.
- Create a hop between the Filter Rows step and the Dummy (do nothing) step.
All valid links are sent to the Dummy (do nothing) step.
- Select Text file output, and drag it to the Transformation screen.
- Right-click the Text file output step and select Edit step.
The Text file output window opens.
- Under the File tab, provide a filename for the text output file.
- Under the Fields tab, click Get Fields.
- Delete all fields except for the following and click Ok:
- PersonID
- ResName1
- ResName2
- ResName3
- Start Date
- End Date
- Create a hop between the Filter rows step and the Text file output step.
All users with expired links are captured and sent to the Text file output.
- On the Design tab, locate and expand the RCM Output step, select the Delete User-Resource Links step, and drag it to the Transformation screen.
- Right-click the Delete User-Resource Links step and select Edit step.
The !Delete User-Resource Links! window opens.
- In the General tab, in the RCM Configuration section, map the following fields, and click Ok:
- Person ID Field=PersonID
- Res Name 1 Field=ResName1
- Res Name 2 Field=ResName2
- Res Name 3 Field=ResName3
You have added the output steps to delete users with expired role memberships. When you run the transformation, it deletes all users with expired role memberships.
Copyright © 2014 CA.
All rights reserved.
|
|