AnsweredAssumed Answered

jsonUtils in rules script

Question asked by rjohnson on Jan 9, 2013
I have been happily using jsonUtils in FTL templates and repo tier webscripts. Recently I needed to use some of the code from the repo tier webscripts in a rule triggered when a document was updated. The code works fine except that I get an exception that jsonUtils.toJSONString() is undefined.

It would seem that there is some discrepancy between the available objects in rules scripts and webscripts. I assume that I could create the jsonUtils object for myself in the rules script, but I don't know the bean name.

Anyone else run into this issue or have I just got this horribly wrong in some way?