Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..
2022-06-08 02:15 AM - edited 2022-06-08 02:21 AM
I am using Archer 6.6 P2 and we have a requirement where User's account status should be marked as "Active"(if inactive) when they are present/added in a manual record permission field. A button click will also work.
Please suggest any solution for this. @DavidPetty @Ilya_Khen
2022-06-08 05:05 AM - edited 2022-06-08 05:05 AM
Not aware of such example in the community. But activation/inactivation has to be worked on via API calls, so your custom object has to take this into account.
2022-06-08 11:54 AM
@KunalGandhi, the issue with this is that you'd have to grant all users involved the ability to modify users accounts which is highly dangerous.
Advisory Consultant
2022-06-08 04:02 PM
You could generate a native Archer report with all the records that contain the users to be activated, and build a Javascript Transporter Data Feed to periodically check if there are any records in this report, if yes, extract those user names and user IDs, call the Archer API to flip the user status to "Active", this way you could avoid giving individual users the admin power and relying on the data feed performing those admin tasks.
The only downside is that this won't be real-time since the data feed needs to be kicked off periodically, although you could make it run every 5 minutes or 10, still not as real-time as the browser side operations, but at least this is much safer.
2022-06-10 07:17 AM
Ok thank you for your response. I will try to achieve this using APIs.
2022-06-30 02:55 PM
Can someone please post or direct to the documentation for the specific API call which can activate a user if you have their UserID? I have looked and been unable to identify this function.
2022-06-30 03:03 PM - edited 2022-06-30 03:05 PM
@KyleBratton , you can find it here:
REST API: Metadata User (archerirm.cloud)
Web Services API: UpdateUserAccountStatus (archerirm.cloud)
Advisory Consultant
2022-06-30 03:44 PM
THANK YOU!!!!!