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 | 0 comments
so you want all the emails in a particular role in your process?
Labels: Newbie News, Tips and Tricks
| Posted by Niki Adams at 10:54 AM | 0 comments
change info on inbox - description...
if you want to change the description in your inbox, just do this:
description = "whatever you want"
usually, i try to put the ticket number in it doing this:
description = "ticket number: " + id.number
also, remember to do this in an automatic box on the process.
Labels: Newbie News, Tips and Tricks
10.22.2008 | Posted by Niki Adams at 10:08 PM | 0 comments
button names.....
so typically we use 3 buttons - previous, next (submit), cancel. did you know that as long as your conditional name and the name of your button matches you don't have to do anything else???? cool, huh? just a simple tip and trick.
Labels: Newbie News, Tips and Tricks