API Calls within Custom Objects
I have written a PowerShell script involving REST API calls to add users to requested Archer groups automatically post business approvals and close the request after user assignment (requests are tracked through an ODA). Now that I have a working solution, I would like to have this invoked through a custom object button (within the record), rather than having it run through a Windows task on a scheduled basis. I know that we can place the script in the Archer server and hit it through the button. Is there any other way apart from placing the script on the server? Ideally, I am looking for a solution (API calls within custom object).
Any thoughts or insights? Please let me know. Thanks.
- Archer Custom Objects
- Custom Objects
- restful api
- RSA Archer
- RSA Archer Custom Objects
- RSA Archer Suite
Yes, you can create Custom Object, and place your API code and button there.
However, you must remediate situation of multiple hits by the users, which can potentially DDoS your API.
You need to write in JS, not PS to run it from the record.
You may find some examples here:
Or the best source is here by Jeff Letterman :
Thanks Ilya Khen for the prompt response. I have seen Jeff's article already. I will check out for examples in the RSA Archer API Users group. Thanks again for all your help.. Will keep everyone posted on this thread, if i find an example.
Also, will be mindful of the DDOS possibility. Thanks for the heads-up.
Well, you should check the implementation behind the API Toolbox, but if you do not want to do so, this might be closer to look for: