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

Triggering birth right access for future start date

Diwakar
Regular Contributor
Regular Contributor

Scenario: We got one scenario where user should get AD account provisioned  before 21 days on his/her startdate.  

For example if start date is 30-sep-2023 so user New AD account should trigger on 9-Sep-2023

Currently I have restricted this trigger by using this condition (datediff(a.startdate,now()) <= 21) in technical rule, but how to trigger this technical rule specifically on 9-sep-2023 considering no update we receive for the such users from source .

Can detective job helps?  or is there any other way to do it?

13 REPLIES 13

Diwakar
Regular Contributor
Regular Contributor

Hi Everyone,

May I please request to provide an update here for my requirement.

Regards,

Diwakar.

Hi @Diwakar  use detective jobs to trigger the technical rules. 

 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

Diwakar
Regular Contributor
Regular Contributor

Hi Naveen,

We tried to achieve this by detection jobs where we mentioned the below condition job in technical rule. But still Create Account for the user has not triggered after running the detective rule job.

Technical rule condition--- (a.statuskey = 1 ) and (datediff(a.startdate, curdate())=21)

Diwakar_0-1694104013542.png

Below are the logs as well for your reference. Please advise further.

2023-09-07T21:51:11+05:30-ecm-2023-09-07T16:21:11.255973042Z stdout F 2023-09-07 16:21:11,255 [http-nio-8080-exec-19] DEBUG services.WorkflowService - whereQry - and 1=1 and upper(users.username) like 'c05******%' order by tasks.taskdate desc NULLS LAST
 
2023-09-07T21:51:11+05:30-ecm-2023-09-07T16:21:11.256082842Z stdout F WHERE tasks.id > 0 and tasks.status IN (1,2,6,7) and 1=1 and upper(users.username) like 'c05*****%' order by tasks.taskdate desc NULLS LAST
 
2023-09-07T21:51:11+05:30-ecm-2023-09-07T16:21:11.256085142Z stdout F 2023-09-07 16:21:11,255 [http-nio-8080-exec-19] DEBUG services.WorkflowService - taskQry - and 1=1 and upper(users.username) like 'c0*******' order by tasks.taskdate desc NULLS LAST

Regards,

Diwakar.

You can use combination of Sav to Sav/User update rule to meet this requirement.

 

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

Diwakar
Regular Contributor
Regular Contributor

Hi Devang, 

Can you please elaborate on this step?and why Detective technical rule is not working in my case. Provided all required logs as well. Please help to identify the issue!

Regards,

Diwakar.

Does preview shows expected user in list ?


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Yes Rushi, expected user in list are showing but not sure why its not triggering the tasks after running detective. Please help to check the issue as we wanted to go through this OOB detective feature so that we dont have to write a new rule or customization for this task as we are now live in Prod.

Thanks,

Diwakar.

Diwakar
Regular Contributor
Regular Contributor

Hi Rushi/Saviynt Expert,

Any further suggestion on this issue please?

Regards,

Diwakar.

Manu269
All-Star
All-Star

Hi Diwakar,

You can try this via a workaround.

You can set up sav 4 sav connection, to update one of the user CP value.

Based on this this cp value, you can configure your user update rule to rerun selected technical rules.

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.

Diwakar
Regular Contributor
Regular Contributor

@Manu269 Can you please guide me on details about this workaround? Any links or reference would be of great help.

Regards,

Diwakar.

Diwakar
Regular Contributor
Regular Contributor

@Manu269 Can you please provide more details on this workaround, how to implement the same in Saviynt.

Thanks,

Diwakar.

Diwakar
Regular Contributor
Regular Contributor

@rushikeshvartak @Manu269 @Experts I am able to trigger the new AD tasks  through Detective jobs but its only working when I am using the technical rule filter query(screenshot below). Is it the expected behavior for detective rule job to trigger the birth right provisioning tasks? I think it should trigger the task based on Execute rules selection only.

Diwakar_0-1695109162187.png

Regards,

Diwakar.

DixshantValecha
Saviynt Employee
Saviynt Employee