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
5 replies
Subscribers
7 subscribers
Views
5321 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
I need to check if the supervisor ID is deactivated and then update a person'
Keith
over 10 years ago
I need to check if the supervisor ID is deactivated and then update a person's user profile so the supervisor is null.
I tried double quotes and I tried to assign a PV of user type with nothing in it. I get an error that the supervisor field has to have a valid name. How can I get around this?
In all our processes we check if the profile supervisor is null and then call a sub process to enter their supervisor. If I can run a process to check for a deactivated ID and then make it null - we are in business.
...
OriginalPostID-127407
OriginalPostID-127407
Discussion posts and replies are publicly visible
0
Keith
over 10 years ago
I am able to manually do this. I want to create a process to check and use the update user profile smart service to automatically change a deactivated supervisor to become null.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 10 years ago
Good Question - I also notice it won't save a cleared-out phone number field (such as if you attempt to set "Office Phone" to ="", it doesn't save the new value)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Chris
over 10 years ago
The only way I've found to bypass required field validation on user profiles is with our Bulk User Upload mechanism (from professional services?), which takes a csv input of user accounts and updates the profiles without [most] required validation. Otherwise, we have had to create dummy accounts to be added in place of the blank supervisors.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
erickp
over 6 years ago
in reply to
Chris
Hello Chris, have you figured out another way to do this?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Chris
over 6 years ago
Hi erickp, I am able to update a user's supervisor information to null utilizing the Update User Profile smart service as well - is that not working for you?
docs.appian.com/.../Update_User_Profile_Smart_Service.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel