Email notificatoin based on REQ number from Sailpoint

Version 8.4
I have a delimited application and integrated with ServiceNow. From Manage Access i am selecting a user and assigning an entitlement for application A(delimited) there is form in there is field B (yes/No) on selection of yes an email has to be sent, but this email has to be send only after the REQ number is generated by ServiceNOw.

I have created a step in LCMProvisioning and based on the application name i am calling a subprocess. But i thought if i can get the REQ number to the subprocess i can put the condition and control the sending of email.

Initially, i have put the step after the create identity step, but as the REQ is not generated it is sending the email if the request is failed, that shouldnot be the scenario.

I need help,

  1. In LCM Provisioning after which step do i need to put my step which will give me REQ.
  2. How to get the REQ number in the subprocess?

@sreeradhika10 check after initialize step. here you will get identityRequestId.

I got the IdentityRequestid but how to use it to get the REQ number.

@sreeradhika10

You can use
String irNum = null;
IdentityRequest ir= context.getObjectById(IdentityRequest.class, IdentityRequestid );
irNum = ir.getName();

let me know if that works.

1 Like

No Ranjan. I am trying to get the REQ234534(generated), I am calling my subprocess in the approval and provision split step. So i am getting the IdentityRequest based on IdentityRequestId but it not the completed one, after 23secs it
is getting complete IdentityRequest with REQ number in

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.