Skip to main content
Question

start and stop reading the rows when condition is met

  • Apr 18, 2018 6:55 AM UTC
  • 3 replies
  • 45 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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

takashi
Celebrity
  • Apr 18, 2018 7:58 AM UTC

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


Forum|alt.badge.img
  • Apr 18, 2018 9:52 AM UTC

Hi

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

See workbench attached.

start-and-stop.fmw

table.csv


  • Author
  • Apr 18, 2018 11:00 PM UTC

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