no big deal. here's how you do it:
i set mine up in a method/function so i can reuse it. i return out a string (all of my email addresses). you could do this if you just want a list of names in a role to populate a list box or something. here i use it to email all the people in this role:
manager as String
myRole as Role
myRole = Role.find(name : "Manager")
for each element in myRole.participants do
if element.email = "" or element.email = null then
else
manager = element.email + ", " + manager
end
end
// take off last semicolon or comma
emailLength as Integer
emailLength = length(manager)
emailLength = emailLength - 2
manager= strip(manager, len : emailLength)
return manager
10.23.2008 | Posted by Niki Adams at 11:14 AM |
so you want all the emails in a particular role in your process?
Labels: Newbie News, Tips and Tricks
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment