Hi,

You can easily remove single quotes, but will that be enough to solve your
problem?

LEFT(REPLACE($z1D Translation Text$, "'", ""), 128)

        Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011)

Products from RRR Scandinavia (Best R.O.I. Award at WWRUG10/11):
* RRR|License - Not enough Remedy licenses? Save money by optimizing.
* RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs.
Find these products, and many free tools and utilities, at http://rrr.se.

> What is an example call to your pager script? You mention "sticking single
> quotes around things", is this the whole message or just part(s) of the
> message? When the call is made, is the whole message quoted or ???
>
> Trying to understand exactly what's happening both normally (short
> messages) and when it breaks (longer message).
>
> From: Action Request System discussion list(ARSList)
> [mailto:arslist@ARSLIST.ORG] On Behalf Of Jase Brandon
> Sent: Tuesday, May 22, 2012 1:47 PM
> To: arslist@ARSLIST.ORG
> Subject: Need Help Stripping Single Quotes out of a Pager Notification
>
> **
> Hello All,
> 7.6.04
>
>
> We have found an issue where workflow is truncating message and pager
> notifications are not being sent.
>
> We have been having issues with the paging system getting messages sent to
> our paging script properly.  The pager message templates are sticking
> single quotes around things and then workflow is truncating the message to
> 128 chars, but it truncates the trailing single quote.  So, the linux send
> page shell script that we use does not get invoked because linux sees an
> unbalanced set of quotes and just waits for input, thus longer pages are
> never sent out.
> I see the filter NTE:NPC:Translate_243_PagerMsgAlpha doing a set fields on
> 'Pager Message Alpha' as LEFT($z1D Translation Text$, 128).
>
> My thought is this... Can I create a filter that does a LEFT or REPLACE...
> (I forget the syntax) and stip the single quotes off the message prior to
> sending?
>
> Thoughts Anyone? I haven't done anything like this in awhile and I'm a tad
> gun shy when it comes to modifying anything related to SYS:Notifications.
>
> Thanks in Advance,
>
> Jase
> _attend WWRUG12 www.wwrug.com ARSlist: "Where the Answers Are"_
>
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

Reply via email to