The Current Object bind gives access to the STEP object that the Business Rule is being evaluated or executed against. The following sample code expects a bind to currentObject:
Note: If the Current Object is bound into JavaScript, the business rule cannot be used in the Web UI.
The following code gets the value of the 'Description' attribute on the current object and stores it in the variable 'Description'.
var description = currentObject.getValue("Description").getSimpleValue();
2017, Stibo Systems