Question

start and stop reading the rows when condition is met

  • 18 April 2018
  • 3 replies
  • 3 views

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

Userlevel 2
Badge +17

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

Badge

Hi

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

See workbench attached.

start-and-stop.fmw

table.csv

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

Reply