Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Error with data update from ext. system. SD 4.5 don't fill the return by script value into field...

Highlighted
Sergey Abramov
Occasional Contributor

Error with data update from ext. system. SD 4.5 don't fill the return by script value into field...

Hi all!

Please help us, if you can: we need to recieve from SQL datadase a list of E-mail addresses of approvers in Changes. We realized it by using a perl script and DB-rule (data update from external system). Script works fine, but don't write data in SD field (text field)... :-( It recieve ID field from SD, insert it in sql inquiry and recieve (as result of executing of this quiry) a list of e-mails, but instead of this -- it doesn't write it in SD. Instead of it -- in application server log appears an error "java.lang.StringIndexOutOfBoundsException: String index out of range: 3".
Server configuration: MS Windows 2003 Server, IIS 6.0, MS SQL 2000, HP OV SD 4.5 SP 24.
Yow can we solve this trouble? Please, somebody HELP!!!

Script source -- in attachment.

Thanks in advance...
//Add this to "OnDomLoad" event