Detailed Information

The 23.11 update of PeopleFluent Talent Management adds the ability to use data processing scripts to add static roles and delete roles. Roles are typically managed using data feeds, and this new ability provides more flexibility for clients to manage the assignment of roles in the application. 

Two new methods have been added to the Talent Management Pseudo Model under the User entity: 

  • addStaticRolesToUser
  • deleteRolesFromUser

These methods are used by scripts to add static roles to users and delete roles from users. Only static roles can be assigned in this way; dynamic roles are only assigned based on the relationship between the user and specific segments of the employee population and cannot be assigned manually. You can use scripts to delete static or dynamic roles. 

These new methods can be used to assign and delete roles with administration levels below 1,000. 

There are three ways to pass the roles you want to add or delete:

  • Pass the roles as Runtime Properties in the Data File Processing record 
  • Write the roles to pass directly into the script itself 
  • Use a SmartGrid view that is filtered to show the roles you want to pass

Note: If you use Runtime Properties to pass roles, you can only pass two roles at a time. If you need to assign or delete more than two, use one of the other methods. 

There are two sample scripts provided on the Data Processing Scripts page (Menu > Compensation/Performance/Succession Administration > Data Processing Scripts) to demonstrate this new capability (using the Runtime Properties method):

  • AddStaticRolesToUser
  • DeleteRolesFromUser

To facilitate this process, the Login column has been added to My Team SmartGrids, along with the Roles column as reported in a previous release note. These two columns are not visible by default and not added to any My Team grid display columns. They can be added by going into Design Mode to make them visible, and then clicking Set Columns. This allows My Team SmartGrids to be used to pass in roles to be assigned or deleted (using a SmartGrid to pass the roles), and also to validate that the roles have been added or deleted properly after the script is run. 

Once roles are assigned using data processing scripts, the roles will be protected from data feed overwriting so that they will not be changed by a feed.