un/suspend profile(a,b,c)


This function can be used to suspend a profile or to unsuspend a suspended profile. Returns true on success.

Parameter Description


Parameter

Description

a

Name or ID of the profile to be suspended or unsuspended. Important notes: Only profiles on the same client can be handled. A profile can suspend itself. If another running profile is suspended, that profile will be suspended immediately, but the profile run will still be completed.

b

(optional) If true, any errors that occurred (such as a profile not found) are ignored (the profile remains error-free), but the function returns false. Default: false.

c

(optional) If true, the specified profile is suspended. If false, a suspension is lifted. Default: false.