Mark,

If you are willing to use a temp field (or "remove the string one
email address at a time" from the exiting field then you can do this:

Filter 1:
ztmp = LEFT($email customer$,STRSTRC($email customer$, ";")-1)
email customer = SUBSTRC($email customer$,STRSTRC($email customer$, ";"))

Filter 2:  ( end the name of the filter in a `!, that is "back tick"
followed by an exclamation mark)
Run IF: If 'ztmp' != $ NULL $
If action: Notify action

Filter 3:
Run IF: if 'email customer' != $NULL$
If action : Goto Exection order for Filter 1

( Or you can use a guide and use goto's in it.)

If you really wanted to get tricky... you likely could keep the value
from 'email number' and then keep picking "the next" email address out
of the array, but you will still need a field to hold a single email
address, and likely a second integer field to find the next ";" in the
string too. (And I think it is easier to rip the string down one email
address at a time than doing that anyway.)

HTH

-- 
Carey Matthew Black
Remedy Skilled Professional (RSP)
ARS = Action Request System(Remedy)

Love, then teach
Solution = People + Process + Tools
Fast, Accurate, Cheap.... Pick two.



On Thu, Aug 7, 2008 at 2:54 PM, Brittain, Mark <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> This one is cooking my noodle. I have a field ($customer email$)that
> contains email addresses, and under certain conditions send out a
> notification to these addresses. Problem is the number if characters in
> the $customer email$ field can exceed 255 character limit of the User
> Name in the notify filter. The email addresses are separated by a
> semi-colon without spaces.
>
> Since the number of email address vary, I need to read each address from
> left to right, grab an address, send the email, and then look up the
> next and repeat the process.
>
> If the first email address was [EMAIL PROTECTED], I was thinking I could do
> a Set Field to $email number$ STRSTRC ($email customer$, ";") and a
> LEFT(email customer$,$email number$). The trick is to ignore the first
> address and grab the second address and so on.
>
> ARS 6.3 patch 20
> OS: SunOS 5.9
>
> Any ideas.
>
>
>
> Mark Brittain
> Remedy Developer
> NaviSite ESM Operations
> 315-453-2912 x5418 (Office)
> 315-317-2897 (Cell)
>
>
> This e-mail is the property of NaviSite, Inc. It is intended only
> for the person or entity to which it is addressed and may contain
> information that is privileged, confidential, or otherwise protected
> from disclosure. Distribution or copying of this e-mail, or the
> information contained herein, to anyone other than the intended
> recipient is prohibited.
>
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to