Incoming Method Parameters

From AgileApps Support Wiki
Revision as of 00:34, 12 November 2014 by imported>Aeric (Created page with "When a Java method is invoked by a Rule or Macro, the record's fields are passed to the method in a Parameters instance. That instance contains the o...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

When a Java method is invoked by a Rule or Macro, the record's fields are passed to the method in a Parameters instance. That instance contains the object's fields, along with the standard fields shown above. The following convenience parameters are passed, as well:

Field name Notes
name The record's "name", as specified in the object's Record Locator definition. For cases, it's the unique case number. For users, it's the unique username. And so on.
is_deleted True (=1) if the record is in the recycle bin. Otherwise false (=0).