Condition to trigger If Create operation success

Hi Team,

We observe that after create rule is triggering even if AD account is already exist in native application.

We wanted to stop trigger this rule to existing users in native application and we have added condition to allow only for creation operation.

Is that possible to put condition like if create Operation is Success then only will allow them to trigger After connector rule.

For REF :
if($operation -eq “Create”){
$command = -join ($command, " -requestString $requestAsString")
. C:\HomeDrive-Exchange\UKG-Exchange-HomeDrive-PowershellScript.ps1 “$sAMAccountName”
}

Thank you,
Saikumar

Hi Sai,
Yes conditionally it is possible to add that statement but check the response what you are getting the provisioning status is commited it means the operation is successful. Try to use that and see if that works

Hi rakesh,

We are not getting provisioning status in requestString.

Can you tell me if we can get it from anything ?

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