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
10 replies
Subscribers
8 subscribers
Views
3501 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hello, 1. I created a constant of type Group that has the value of al
mjmallet
over 9 years ago
Hello,
1. I created a constant of type Group that has the value of all active users in our company.
2. I created a rule to extract the username of all active users.
=joinarray(getdistinctusers(topeople(cons!active_user)),char(13)&char(10))
3 - I run this rule in a script and the list is saved in a text variable (multiple) and then sent to an excel spreadsheet.
I also got another rule to fetch the username of deactivated users.
=joinarray(getdeactivatedusersby("username","",2),char(13)&char(10))
How do I get the First Name, Last Name for my deactivated/active users? I've looked on the Forum for different solution but wasn't able to apply.
Thanks
OriginalPostID-150384
OriginalPostID-150384
Discussion posts and replies are publicly visible
Parents
0
Poorna Guduri
A Score Level 1
over 9 years ago
Yes, it will definitely work. Give it a try!!
The sample code that I've attached above helps you in finding out the first & last names of the deactivated users and you have to replace the function getdeactivatedusersby() with getdistinctusers() in order to get all the active users in your environment.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Poorna Guduri
A Score Level 1
over 9 years ago
Yes, it will definitely work. Give it a try!!
The sample code that I've attached above helps you in finding out the first & last names of the deactivated users and you have to replace the function getdeactivatedusersby() with getdistinctusers() in order to get all the active users in your environment.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data