Tmap (Can't convert from int to boolean)

Four Stars

Tmap (Can't convert from int to boolean)

I have source file column name is account number(string)

i want to check the string length if it is 11 then populate to target otherwise i want to add 0's prefix to that account number ???help me


Accepted Solutions
Sixteen Stars TRF
Sixteen Stars

Re: Tmap (Can't convert from int to boolean)

Thanks to mark your case as solved.

TRF

View solution in original post


All Replies
Sixteen Stars TRF
Sixteen Stars

Re: Tmap (Can't convert from int to boolean)

StringHandling.RIGHT("0000000000"+row1.accountNumber, 11)

TRF
Four Stars

Re: Tmap (Can't convert from int to boolean)

Ya understood
Four Stars

Re: Tmap (Can't convert from int to boolean)

Ya got it ... thanks
Sixteen Stars TRF
Sixteen Stars

Re: Tmap (Can't convert from int to boolean)

Thanks to mark your case as solved.

TRF

View solution in original post

2019 GARTNER 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

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog