Finding the code routine
Occasionally, when you call a Talend function or a function that you have created in a code routine, you will receive a compilation error message about your routine, such as: myRoutines cannot be resolved.
This is usually because the link between the code routine and the job has been lost. This can easily be re-established.
How to do it…
- Close the job on which you are working.
- Right-click the job in the Repository panel, and click Setup routine dependencies.
- You should find that your routine is missing from the list that is displayed in the following dialogue. (Note we do not have any attached routines here).
- Click on +, then select your routine from the list that is then displayed. You should then see your routine in the User routines tab.