Im getting JavaScript Error in a IM trigger
Hi,
I am trying to get the User Object from imUserBean, but I think it cannot be created: JavaScript Error: Internal Error: undefined: Cannot convert null to an object
function main()
{
if(delta.isNewlyPosted() && delta.getNewFieldValue("Severity") == null){
abort(user.getFullName());
}
}
var delta = bsf.lookupBean("imIssueDeltaBean");
var eb = bsf.lookupBean("siEnvironmentBean");
var user = bsf.lookupBean("imUserBean");
main();
So I am trying to create the object with bsf.lookupBean and then abort the action with the full name of the user who caused this action.
Instead I get the error in the line (bold).
Thanks in advance
Alexander

