It's all about the answers!

Ask a question

Script Based fied not working on RTC 5.0 version


preetika sharma (626) | asked Jan 27 '15, 10:00 a.m.
edited Jan 27 '15, 10:10 a.m. by Ralph Schoon (61.1k33643)

I have two project area one is in 4.3 version and another is in 5.0 version. I have few scripts based custome aatributes  that are working on 4.3 version but similar script are not on 5.0 version.

As these two areas are seperate not sure if the reason is migration or something else.

One answer



permanent link
Ralph Schoon (61.1k33643) | answered Jan 27 '15, 10:04 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Jan 27 '15, 10:06 a.m.
I would suggest to look into the log files or debug the script execution. Is the script attached? Does the script get called? What is the error if so.

I am pretty sure that there are no noticeable differences in JavaScript for 4.x and 5.x. I would check attribute ID's and other values. E.g. you might run the script on assumptions that don't really hold (e.g. null values you don't expect).  Consider wrapping the script execution in try/catch to have a better handling and log information.

Your answer


Register or to post your answer.