Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
8 replies
Subscribers
6 subscribers
Views
3177 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
I've created an admin process to deactive user accounts using the smart serv
alastairw
over 11 years ago
I've created an admin process to deactive user accounts using the smart service. There is also a smart service to reactivate accounts, but I can't figure out what the input should be, since deactivated users no longer appear on forms! What actually happens when a user is deactivated?...
OriginalPostID-71971
OriginalPostID-71971
Discussion posts and replies are publicly visible
0
mikec
over 11 years ago
have you looked at instead of deactivating a user just to mark them as inactive? This removes them from view but still allows you access to there information so you can reactivate them.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
alastairw
over 11 years ago
Thanks mikec.
I've searched the wiki for 'inactive' and pages such as https://*.appiancloud.com/suite/wiki/72/Setting_Password_Policies suggest that it means the same as deactivate. Is there something I've missed?
I've found how to reactive a user as a sysadmin, but how can I use the smartservice to do this in a process?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
meghan.mahar
Appian Employee
over 11 years ago
Would it be possible to create a node output from your Deactivate User Smart Service that saves each deactivated user into a pv and then access that later to reactivate each users?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
akhilan
over 11 years ago
You can also consider saving the deactivated username into a database table. Anytime you wish to reactivate via a process, you can bring the username from the DB.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
alastairw
over 11 years ago
meghan - I'm sure it would, but the pv wouldn't be persisted once the process ended. A user admin process (e.g. to deactivate users) is likely to be very short-lived.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
alastairw
over 11 years ago
akhilan - agreed, but it seems a shame to build customer user admin functionality rather than use Appians own. Ideally I would have wanted to build a reactivate process that takes input of type User, but this doesn't seem possible. Since the list of deactivated users is visible to sysadmins, I wonder if this can be exposed to processes in some way?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Michael Tan
Appian Employee
over 11 years ago
Hi Alastair, have you seen the component on Forum named "User Search Expression?" You can retrieve a list of the deactivated users and then present them in a form for someone to select them for reactivation. Hope this helps you out.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
alastairw
over 11 years ago
Thanks michael, I'll take a look
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel