updateAppStatus

Updates record status of record to stat and adds cmt to the status update history.

Version

1.3

Parameters

Parameter Type Description
stat string Status to update the record to.
cmt string Comment to add to status update history.
capId (optional) CapIDModel Record ID object.

Notes

If you use the capId optional parameter, the function updates record capId. If you do not use the capId parameter, the function updates current record.

The getApplication( ), getParent( ), createChild(), createCap() functions each return a record ID object that you can use in the capId parameter.