One thing I can tell you is that the Unix versions of the ARS system have 
always used just an LF for the example type of code you have.

One idea that will always work is to use an SQL set fields to set a display 
only field to CRLF and then use that instead of the returns you have.

Fred

From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Arner, Todd
Sent: Friday, April 04, 2014 11:11 AM
To: [email protected]
Subject: Filter Push to View Form

**
We are having an issue with some custom workflow.  We have a Remedy form that 
holds data related to employee terminations.  When an employee is terminated we 
use a filter push action (See below for sample of data being pushed) to send 
data to a Remedy view form in SQL.   Next, there is a separate external process 
that pickups the data from the SQL table and creates a .txt file containing the 
data.  We have been using this process for a couple of years without an issue. 
This past weekend we had to make a change to the data being sent.  After 
updating the filter, we are seeing issues with how the line feed is being sent 
to the sql table.  Prior to changing the filter the line feeds were being sent 
as Carriage Return Line Feeds (CRLF) and after the change they are being sent 
as line feed (LF).  This is causing an issue because the .txt file that is 
created no longer returns the data with returns but rather sends it as a line 
of text.

If we restore the old original filter (created on version 7.5), it works 
correctly, but as soon as we make any update to that filter (using version 
8.1), it starts sending as the data as LF instead of CRLF.  To make things more 
confusing, if I pull the filter push action data into notepad++ it indicates 
that there are CRLF at the end of each line on both the original and updated 
filters.  So, I would expect that the SQL table would also include CRLF but it 
does not on the updated filter.

Is anyone else seeing anything like this or know if a solution?

Below is the value of the data being pushed to the SQL table that comes through 
with LF instead of CRLF:

(((((((((((("Employee Last Name:  " + $RecLastName$) + "
Employee First Name:  ") + $RecFirstName$) + "
eQIP Number:  ") + $IR #$) + "
Date of Hire:  ") + $Hire Date$) + "
Contract ID:  ") + $Contract Number$) + "
System Access:  ") + $System Access$) + "
Term Date:  ") + $Termination Date$


We are running ARS 8.1 on windows server with MS SQL 2008

Thanks,
Todd Arner



_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to