Password Reset for Multiple accounts but 1 notification

Jul 14, 2014 at 11:29 AM
Edited Jul 14, 2014 at 11:37 AM
Ok hopefully this will make sense.

I have a group of users that on a periodic basis I need to force a password change. In this group there are 14 accounts.

I currently have a Monitor Exchange Item that awaits an e-mail with a particular subject line i.e Reset accounts)

This then fires a .Net script, which basically runs a powershell script to create a random password. This then feeds into Get user to find all users for a specific group, which in turn feeds into the Reset Password activity, which should then e-mail the admin of those accounts with the new password.

Now in this example I want all 14 accounts to have the same password, but obviously the send mail activity by default is triggered for every account it find in the group. Is there a way to make this only send the 1 e-mail?
Jul 14, 2014 at 1:31 PM
I think I've answered my own question.

I added a counter activity, which prevents the e-mail being sent until it's reached >13. I then added a reset counter activity after the e-mail to keep it working long term.