afterModify connector rule; Operation : Enable

Hi,

Has anyone managed to grab the operation variable from the afterModify rule?

Instance           : 
ApplicationName    : Active Directory - QA [source]
Operation          : Enable         <= This value here
ObjectType         : 
ProvisioningResult : 

I would like to be able to run PS scripts only when the account is being enabled, and no other attributes are being updated.

Thanks

Hi @phil_awlings ,
I wrote a aftermodify rule to sent custom emails once AD is disabled , there I have used

    $requestObject = New-Object Sailpoint.Utils.objects.AccountRequest($xmlReader);
	
	$RequestOperation=$requestObject.Operation
	
    if ($RequestOperation -eq "Disable"){
}

to detect disable operation .In the Same way I believe “Enable” operation can be checked

1 Like