What's new in Customer Journeys?

Connect and learn more!
In alert recipient how to get manager from active assignment instead of suspended — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

In alert recipient how to get manager from active assignment instead of suspended

Accepted answer
67
Views
11
Comments
edited Jul 6, 2023 5:58PM in HCM REST APIs 11 comments

Summary:

In alert composer recipient section we want to get the manager's username from the employee's active assignment.

Content (required):

We have an employee that is on Global temporary assignment hence has two assignment rows - One active (host) and another Suspended (home). We want alert to send notification to the manager given on the active assignment. Currently ${AlertUtils.empManager(workers.PersonId).UserName} is sending notification to the suspended assignment.

How can we make it select manager from active assignment.

Version (include the version you are using, if applicable):

23B

Code Snippet (add any code snippets that support your topic, if applicable):

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!