0 votes

So I have custom forms for onboarding / offboarding users. We sometimes know 2-3 weeks in advance so I would like to add the ability to schedule these for the future. I added a a custom date attribute to the forms but I'm not sure how I integrate them.

If I add a statement at the beginning of the on/offboarding task to check the custom / if the date isn't today then do nothing, but how do I then kick off a scheduled task to take all the data that was inputed and then process the request on the given date?

by (120 points)

1 Answer

0 votes
by (272k points)

Hello,

Unfortunately, there is no such possibility for user creation as there is just no way to preserve the data anywhere. As an option, you can have a CSV file with users to be created and a scheduled task with a script. The script will only create accounts when the date in the corresponding column is today. You can use Script 3: Only create new users from the following article as base for yours: https://www.adaxes.com/script-repository/import-new-and-updated-users-from-csv-file-s246.htm.

As for use deprovisioning, you can have a Web interface form with only a single custom date attribute (e.g. CustomAttributeDate1). The attribute will be used to specify the date when a user must be deprovisioned. In this case, your scheduled task will look like the following: image.png

0

Thanks. With out deprovisioning we have a few fields that need to be completed in the form - using this method are the fields saved? I.e we have a section to enter in the IT ticket number and who gets e-mail access. If I set a date in the future and enter in the ticket number and e-mail rights, will those variables be picked up and used on the selected date?

0

Hello,

That is something that you can use other Adaxs custom attributes for. The values specified I the form will be set as for regular AD properties and will be available in the scheduled task.

Related questions

0 votes
1 answer

Good morning, My Training team has requested the ability to see a "new hire" list containing the last 50 employees hired by my organization. They wish to navigate to ... to get started on this task. Has anyone done something similar your environments? Thanks!

asked Apr 6, 2018 by cda0822 (50 points)
0 votes
1 answer

Using the powershell module, I know how to create a scheduled task, and also how to bind to a scheduled task that is already known. I also have used code to try creating ... same time as another. These are all one-time tasks and will be removed once executed.

asked Jan 19 by aweight (40 points)
0 votes
1 answer

Hello! how do i manage do get adaxes to remove all groups from the user after one month? We have a Business Rule where you can add an end of Date when the Account ... value field the powershell script works but not with the +1 Month. Thanks for your help!

asked Jun 14, 2023 by eww ag (140 points)
0 votes
1 answer

seting up a scheduled task to move users to thier correct OU. For some we can do this based on employee type and direct to a specific OU. For most of our users we will have to script this to move to the manager's OU.

asked Apr 12, 2023 by mightycabal (1.0k points)
0 votes
1 answer

Experimentation has shown that if the Adaxes service is not up when a Scheduled Task is supposed to run, the ST obviously does not happen. After the service comes back up, ... that at our site we have a single Adaxes server, not a multi-server deployment.

asked Mar 17, 2023 by alex.vanderwoude (60 points)
3,351 questions
3,052 answers
7,791 comments
545,091 users