Word of caution - I have had mixed results not using a qualification in the Push Fields If, in the Push Fields action without qualifying it, as although it worked, if I attempted to edit that piece of workflow, for some very strange reasons, the dev studio would not display details such as the form name, server name, and the mapping information.
I do not know if this is a recognized bug or not as I didn't really care to raise a support ticket with Remedy Support as the fix was pretty obvious - put a qualification that referenced an indexed field ideally the Request ID to replicate the 1=1 or 1=2 thingy.. I would use Request ID = $NULL$ for False or Request ID != $NULL$ for True which would not result in a table scan as the Request ID is a internally indexed field. The whole point of not using or using the 1=1 or 1=2 if I remember correctly, is that it performed a table scan although it would not be a expensive table scan.. Cheers Joe -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Grooms, Frederick W Sent: Tuesday, October 15, 2013 2:29 PM To: [email protected] Subject: Re: 1=1, 1=2 I seem to remember that this was changed back in the 6.x days (although it may go back as far as 5.1) It related to doing the lookup on the "If Any Requests Match" criteria of the push. 1=2 (or 0=1) always equal FALSE so the usage was to force ARS to always do the "If No Requests Match" option of the Push. The problem was some databases did a table scan (when you would expect the analyzer to return no records immediately). This has been replaced with code in the ARSystem process that specifically checks for an empty Push qualification having the options of: "If No Requests Match" Create a New Request "If Any Requests Match" Take No Action This causes the Push to always create a record without doing any lookup in the database beforehand. Fred -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Jay Rohrer Sent: Tuesday, October 15, 2013 1:17 PM To: [email protected] Subject: 1=1, 1=2 ** Back in the day a Push qualification worked better if you did a 1=2 or 1=1 (or similar). After a version or so the guidance was that doing this caused (or could) performance issues. Does anyone remember what version this was "fixed" in? Or does anyone have a white paper or other documentation surrounding this issue? I looked in the KB and Communities but didn't see anything I liked. Thanks, Jay Rohrer ____________________________________________________________________________ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "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"

