How to use component javascript in the Pentahoo Data Integration

91 views Asked by At

Hello I am currently working with (PDI) Pentahoo Data Integration. My problem is the component to use javascript code. This was not well recognized values of type 'string', but values instead of type 'int' have no problems. This is my code:

var q=1;
if(Id_Ccosto =='5189' || Desc_Ccosto=='Comedor CIME')
    q =2;

The value of (q) never changes because does not enter in the if().In other places where I use if(id==15) it works. Sorry, StackOverflow not let me upload images.

0

There are 0 answers