Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] tFlowToIterate Issue with Variable

Hi,
I am trying to create a job which will pass data from Salesforce into another system through an API.
After some difficulty, i have a SalesforceInput component which will grab the data and correctly pass the data into either a tLogRow or DelimitedFile.
However, my API component is a subjob, so when i try to pass the data to a tFlowToIterate to then pass into the child job, i now get  the following error: "contact cannot be resolved to a variable"
Contact is the module I am using from Salesforce.
Job is a follows:
tSalesforceInput ---> tFlowToIterate ---> tRunJob
Data is pushed into Contexts which are then called into tFixedFlowInput's in the subjob which push the data into a Restful API.
Can anyone suggest why i am getting this error?
Thanks.
Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Error was due to a typo in one of the context.{name} statements.

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Error was due to a typo in one of the context.{name} statements.
Anonymous
Not applicable
Author

It is not clear exactly what you're doing; but it sounds like you may referring to "contact" as a Java variable, maybe when passing data to tRunJob?
To correctly refer to data from tFlowToIterate, it would be something like: -
((String) globalMap.get("row.Id"))