Sending AD credentials of new hires to the line manager Workflow

Hi All,

Iam creating Workflow for sending new hires AD accounts credentials to their line manager upon creation.

Below is the workflow i used.

the issue iam facing is in get identity1 as it is returing the manager ID (ex:63) but i need the manager reference ID to be used in the API.

{“displayName”:“Get Identity 1”,“input”:{“id”:“63”,“method”:“GET”,“path”:“v3/identities/63”,“service”:“mice”},“stepName”:“getIdentity1”,“task”:“sp:get-identity”}

i need it to be like get identity result

{“displayName”:“Get Identity”,“input”:{“id”:“5c9e1bd43f874d32a69fd2419ae55525”,“method”:“GET”,“path”:“v3/identities/5c9e1bd43f874d32a69fd2419ae55525”,“service”:“mice”},“stepName”:“getIdentity”,“task”:“sp:get-identity”}

any idea how to get the manager Sailpoint reference ID instead of manager ID ?

Issue solved by populating manager reference attribute and then use $.getIdentity.managerRef.id in Get Identity 1 Action.

You can also accomplish this using built in “New Account Provisioned” Email template. You have to use an API to enable the notification for specific source. You can find more information on this here: API to Notify Users When a New Account is Provisioned - Compass