Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Issue with tJava and tSalesforceInput not carrying through data

Hi.

 

I'm hoping someone will be able to help me.

 

I am trying to transfer content version from one Salesforce org to another.

 

I have configured the job to pull all the correct field, but the VersionData field is Base64encoded in the new system.


To remedy this, I added a tJava component and tried to decode it, however it seemed like the updated value was not being pulled across.

 

To test this I changed the title and body to null (as shown below in screenshot), but its still sending over the title and body from before the Java row.

 

Does anyone have any idea why its not taking the new values I pass over?

0683p000009M2uY.png

Labels (4)
2 Replies
Anonymous
Not applicable
Author

Hi,

 

You should leverage a tJavaRow or tJavaFlex as tJava is only executed once at the begining of the flow and cannot see the data from salesforce whereas tJavaRow or tJavaFlex are executed for each row of data.

vatsal_ras
Contributor
Contributor

You should have used tJavaRow
Actually since you already have a tMap , you don't need tJavaRow. You can write this transformation there.