user9871857
user9871857

Reputation: 31

Pentaho: block this step until steps finish

I'm trying to use "block this step until steps finish" for a transformation but it seems to not work:

enter image description here

On the way it appears on the picture, it is assumed that "total EPOs. DAT, VSE, ESP" shoudn't be run until "Filtrar GESTIONADO ny" and "Select values Kibana 2" haven't finished, am I right? If not, how can I get such purpose?

Thank you.

Upvotes: 3

Views: 8327

Answers (1)

Cyrus
Cyrus

Reputation: 2195

ALL steps in a transformation start running at initialization. Then they either start processing their input or wait for rows to come in.

A "Block this step..." step does NOT prevent the next step from running, it only blocks rows going through to that step. This does exactly what you expect for steps that need incoming rows (like a Text File Output or Database Lookup) but doesn't do anything for steps that generate new rows from an input source.

Your next step after the block looks like a Text File or CSV input. That step will just start reading the file right away and generate rows. With a Text File Input (perfectly usable for most CSV files) you can tell it to accept a filename from an incoming field. That way it will wait until the blocking step allows the single row with the filename to pass.

enter image description here

Upvotes: 5

Related Questions