Absent Member.. JRSalsbury Absent Member..
Absent Member..

Result filters

We are currently working on an OO flow that is emailing upon completion. We are running into a small issue, part of the flow is running a script, the last line of the output is a blank line. We are filtering on last line as that would normally be the information we are looking for, unfortunately the actual output is the second to last line. Is there perhaps a way to filter on the last NONE blank line?

Labels (1)
1 Reply
Absent Member.. ntt00015 Absent Member..
Absent Member..

Re: Result filters



Did you try to use the result filters for this? I did not understand your resultset and what you are looking for? 

Is there only one blank line at last? Are you always tryin to get second last line?


Here is some trials.


If you know the line count you can use Table filer.

If you don't know the line count, replace the last enter character with special delimiter and after that strip the result from this special delimiter (after and including delimiter). Thus, the last line now is your second line. Then get the last line. replace the last enter character with the special delimiter againg and strip the result to this special delimiter(before and including delimiter). So the result is your second line.


I hope this helps.



The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.