Hi Todd, When you say "when we restore the old filter", do you mean loading it from a definitions file (.def or .xml?) or are you restoring it some other way (e.g. a database restore). If you can load the definition from a definitions file and get it to work correctly then an approach using this might be the solution.
In my experience, there are many things that the Dev Studio (and the old Admin Tool before it) does "on your behalf" that you really may not want it to do. For example, imposing the 80 name limit on workflow objects (I've discussed this an another thread some time back), another is that it will change the Z ordering value of some fields even if you haven't touched those fields (it doesn't change the relative Z ordering of fields, but it can change the actual value). This may be one of those situations: the Dev Studio may be changing the CRLF into CR because it thinks that's what you want for some reason. This method as a solution will be a LOT easier to do using the XML definitions format...much easier to read and edit, so first figure out if you can load a working version of the old filter using XML by dumping it into a .xml definitions file, re-loading it, and testing. If it works correctly, use XML. Otherwise you'll need to use the .def format which will be a bit harder but doable. Either way, dump out .xml (or .def) file of the old definition. Next, make the most minimal change to the filter so that it DOES cause the change from CRLF to LF, then dump that version into another .xml. Now examine and compare both files...you should be able to see the difference in the definitions causing the problem (extra line feeds or something). Next, modify the filter to include the new changes you need, then dump that out to a .xml. Now hand modify it so that whatever is causing the problem has been eliminated, then reload it. This *should* solve the problem. If you've never done anything like this it may sound a bit involved, but it really should only take a few minutes to complete. I do this kind of thing all the time. Without actually seeing the problem myself I can only describe this process in generalities, but if I'm not being clear please let me know. Or, if you can post these definition files and sufficient context so that I can try it myself, I'd be happy to try to help. -charlie On Fri, Apr 4, 2014 at 9:11 AM, Arner, Todd <[email protected]> wrote: > ** > > 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 > > > ------------------------------ > The information contained in this communication may be confidential, is > intended only for the use of the recipient(s) named above, and may be > legally privileged. If the reader of this message is not the intended > recipient, you are hereby notified that any dissemination, distribution, or > copying of this communication, or any of its contents, is strictly > prohibited. If you have received this communication in error, please notify > the sender immediately and destroy or delete the original message and any > copy of it from your computer system. If you have any questions concerning > this message, please contact the sender. > _ARSlist: "Where the Answers Are" and have been for 20 years_ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"

