Seven Stars

Unresolved compilation problem: Duplicate local variable tContextLoad

Hi, 
I'm trying to load a context file in to my job as below.

But when i try to run my job, it is throwing this error :


The error says, there is duplicate variable being created in the tContextLoad. It was working fine in the morning all of a sudden this has happened.
 Here is the code which is causing the error,


Any help is appreciated.
Thanks in advance
2 REPLIES
Moderator

Re: Unresolved compilation problem: Duplicate local variable tContextLoad

Hi,
You should post the whole job as screenshot. With this picture, it is a little hard for us to see your work flow.
From your screenshot, we see there is no connector(OnSubjobOK or OnComponentOk) between your subjobs. Could you please take a look at it?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Twelve Stars

Re: Unresolved compilation problem: Duplicate local variable tContextLoad

Not very clean - how  You try define context keys and values?
normally tContextLoad load input flow (key, value) from file/database 
context variables must be defined already, and component just load data into variables, and it work like a charm 
     

as laternative - define load context globally:
 
-----------