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
13 replies
Subscribers
7 subscribers
Views
5663 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Profiles Email Address
erwini1
over 7 years ago
Hi Team,
Is there any way to set a dummy email address for all user profiles in a lower environment?.
Please provide an approach or set of steps for achieving this.
It would need to be a mass update since we are handling +45k users so we don't need to input first name and last name each time rather than update dummy email address only.
OriginalPostID-266898
Discussion posts and replies are publicly visible
0
Mike Schmitt
Certified Lead Developer
over 7 years ago
I'm guessing you could create a process model which first loads the usernames of all users in a specified group (and by that i mean you'd feed in a group containing all users you want to update), then iterates through them one by one and uses the update user info smart service node to set the email address to whatever you like - it could either be the same thing for all, or something dynamic based on their username or user details, pretty easily. It would even work for 45,000 users though you'd have to batch up your MNI calls so that none of them exceed 1,000 (divide into subprocesses, etc).
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Paul Mayeur
Appian Employee
over 7 years ago
What is your use case? Are you getting unnecessary emails? Why not disable the email server instead?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
erwini1
over 7 years ago
We would like to avoid emails being sent to bussines email addresses although disabling email server doesn't seem to be an appropiate option in this case since we (as support team) would need to get some error notification emails for troubleshooting
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vineeta6579
over 7 years ago
@erwini you can enable or disable the ability for Appian to send email from admin console, error notification also gets listed under alerts (designer) based on process model alert setting.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sagarl511
A Score Level 2
over 7 years ago
I too faced similar issue in one of the project , where we added rules at SMTP relay server to allow emails only to customer domain for e.g. - *@appian.com. All other emails were blocked. Cons of this was that email nodes were blocked but we ised limited set of users for Testing.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
harshav
over 7 years ago
you can also try for Update User profile smart service.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
Certified Lead Developer
over 7 years ago
Out of interest, how did you end up with "real" users in a test or dev environment? I would have thought LDAP sync or equivalent wouldn't be enabled for that environment for exactly the reasons you describe. Normally we'd have manually-created users (or rather, some users created using import users from csv) so that we're in control of the email addresses.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
Certified Lead Developer
over 7 years ago
One other option is to add a prefix to each email subject - eg TEST - <subject> - so that, if you have to have emails going to real users, they are able to tell the difference between test and live emails. This should be relatively simple as long as your email sending is done by a generic, reusable process, and can be done using an expression rule that uses the environment URL so that it's handled dynamically regardless of environment.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
balakrishnanm1
over 7 years ago
@harshav - The update user smart service looks for other fields apart from email address as mandatory fields and we don't want to enter the information for all the 45K+ profiles. Is there a way, we can feed the dummy email address alone rather than the other 2 fields?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
balakrishnanm1
over 7 years ago
@philb - It looks like a web service was invoked from a source system that had the legitimate email address and thereby the user profiles were updated
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>