on 06-02-2014 4:55 PM
Hey all,
I know I've been posting a lot of questions on here lately. Hopefully this will be my last one for awhile. I want to put a button or something along those lines on the UI when modifying a contractor that simply executes a script. Basically, I've created a custom attribute that saves a contractor's expiration date. Once that date gets near, the manager needs to extend that expiration date by 90 days. I've created a script that does this. How do I place something on the UI when modifying that user's account to simply execute the script? Thanks for any and all assistance.
The only easy way would be attaching it in the workflow that's triggered by the "extend contractor" UI submit.
regards, Tero
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Brandon,
I think there's two ways to do this:
1. Create a task that would filter on only those users who are near expiration, then once you've selected the user, they are extended. You might need to use the Extension framework if you want to customize that some more. (e.g., user specified extension in days, selection of extension dates (1 week, 1 month, 3 months, etc.)
2. Basically do what Former Member says, so that once a contractor's date is manually extended your changes are made.
However neither of those is a button. IDM doesn't let you create new buttons outside of the REST UIs.
Matt
OK so I could actually create a task that will come up under the "Choose Task..." button, which you could also add to favorites. I think that's probably going to be the winner.
Once I have that in place, I can use the Access Control tab on the task to make it so that only users with my IDM:IT_SUPPORT role have access to it and then, use the filter / SQL query combo to only allow it to be selectable if my target user is a contractor that is nearing expiration. Then, create an Ordered Task Group under this new "Extend Contractor" task that will execute my script and extend the contractor out for my 90 days. Does that sound about right? Thanks for the push in the right direction.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.