CustomActionCleanupCode

From Request Tracker Wiki
Revision as of 16:03, 6 April 2016 by Admin (talk | contribs) (2 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Scrip field that is only used when ScripAction is 'User-Defined'.

You should put code into this field which commit action. Code has access to $self object that is instance of [=RT::Action::UserDefined] class. It should return true value on success and false on error. Code executed only if CustomActionPreparationCode succeeded.

See also: WriteCustomAction