sunset.js revision 2a76bd33235a85759833ad7a6f265a7629d05e5c
logger.debug("Performing Sunset Task on {} ({})", input.email, objectID);
// Perform sunsetting task - mark inactive, trigger workflow, etc.
input['active'] = false;
// Perform update on the object to complete the sunsetting task
openidm.update(objectID, input['_rev'], input);
true; // return true to indicate successful completion