Javascript scripting: set variable to something or blank string

 

set to a value or blank:

var sType = current.cat_item.u_approval_type.toString() || "";

Comments

Popular posts from this blog

GlideRecord setValue

Running transform maps asynchronously

Post a command to the ECC queue for the mid server to initiate a powershell file copy