[resolved] tFlowToIterate Issue with Variable

Five Stars

[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.

Accepted Solutions
Five Stars

Re: [resolved] tFlowToIterate Issue with Variable

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

All Replies
Five Stars

Re: [resolved] tFlowToIterate Issue with Variable

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

Re: [resolved] tFlowToIterate Issue with Variable

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"))