Sets the status of the Activity being edited.
You would want to use this method so that you can programatically set the default Activity status for all Activities, for example.
var status = authorApp.setActivityStatus('published');
The new status for the Activity.Possible values:
statusstring when successful.
falseif unable to set the Activity status. For example, when not in the Activity editor view, or the passed
statusis not valid or is the same as the current status.