TsplitRow

Six Stars

TsplitRow

Hi Team

 

Generally in tsplitrow component to display records between 1 to 5 we write the string as "1..5"

can we use context variables for the same if so how?

i am trying to pass as follows

context.prev_count+".."+context.rowcount

but it is throwing me the error

Please correct me

 

Thanks in advance.

Deepthi

Eight Stars

Re: TsplitRow

What error you are getting?
Six Stars

Re: TsplitRow

Hi

 

I have attached the error

 

Please Check

Thanks

Eight Stars

Re: TsplitRow

Change the datatype of context.prev_count & context.rowcount to String in Context view.

Also it seems ,you are trying to split context.rowcount. Use context.rowcount.split(",")[0] where 0 is position of spiltted string.

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now