Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

WSRETRY_SEQUENCING

Srinivas_N
New Contributor III
New Contributor III

Hi Team,

We have to provision AD-ABC new accounts to user if user is having AD-DEF account so we tried using 
at.userkey IN
(
SELECT u1.userkey
FROM users u1
JOIN user_accounts ua
ON ua.userkey = u1.userkey
JOIN accounts a
ON a.accountkey = ua.accountkey
WHERE a.endpointkey IN
(
SELECT endpointkey
FROM endpoints
WHERE endpointkey IN (105) and TASKTYPE in (1 ))

here endpointkey - 105 is AD-DEF, but the issue is if there is any other account pending task like exchange account even that is getting picked. can anyone suggest how to solve this

Thanks,

Srinivas N

3 REPLIES 3

NM
Honored Contributor II
Honored Contributor II

Hi @Srinivas_N creare a seperate prov job for AD-ABC security system

Srinivas_N
New Contributor III
New Contributor III

Hi @NM ,
This is the new job which checks if user is having AD-DEF account, actual requirement is this should provision only AD-ABC but it was picking exchange account also so we need to avoid picking exchange

NM
Honored Contributor II
Honored Contributor II

@Srinivas_N is exchange online part of same security system?

Can you share job config?