Post a reply

Write your message and submit

Options

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

gabbs
2011-01-27 00:30:33

Adding the "routines." did the job...

Thanks!

vgalopin
2011-01-21 20:36:52

Hi gabbs,

1- Make sure your routine is created in your studio
2- Try to enter "routines." and then, do a Ctrl+Space. Check that your routine appears in the list displayed

Let me know if that helped.

gabbs
2011-01-21 13:52:31

I'm using 4.1.2 of open studio, I usually use 4.0.0RC1 as its less buggy but i've inheritted a project written in open studio 4.1.2. I've just written a custom code routine and put it into a tMap like so:

customFunctionsWithVeryLongName.fixEmail(row4.Email)


But when the job runs it gives and error saying it can't find customFunctionsWithVeryLongName class, after looking at the code its putting a carriage return after the class name and therefore breaking the code?!:


// # Vars tables

Var__tMap_3__Struct Var = Var__tMap_3;
Var.var1 = customFunctionsWithVeryLongName
.fixEmail(row4.Email);


I've tried having a tiny class name or very long (as above) to see if that makes a difference but doesn't seem too... any ideas?

Board footer

Powered by FluxBB