Skip to main content
Question

start and stop reading the rows when condition is met


Hi,

I have a following table and I want read rows between start and stop. Is there anyway I achieve this in FME? any help will be highly appreciated.

Thanks you

IDDESC1

rest2start3run4rest5aaa6 stop7rest8run9start10bbb11run12stop13aaa

3 replies

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • April 18, 2018

Hi @himal, there are some approaches. I would provide an approach using a global variable (VariableSetter/Retriever) and a TestFilter.


Forum|alt.badge.img
  • April 18, 2018

Hi

I would use a python caller to filter the one you want.

See workbench attached.

start-and-stop.fmw

table.csv


  • Author
  • April 18, 2018

Thank you @davidrich and @takashi for the solutions. I really appreciate your time and effort. Thank you very much.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings