IsActive property: Message class
Description
Indicates whether the message definition has been set to inactive.
Note:
This property has been desupported and remains for backward compatibility only. Use the Message class IsOperationActive property instead.
See IsOperationActive property: Message class.
This property is True if the message definition is active, False if it’s been inactivated. If you have a lot of PeopleCode associated with publishing a message, you might use this property to check if the message is active before you publish it.
This property is valid for both asynchronous and synchronous messages.
This property is read-only.
Example
&MSG = CreateMessage(OPERATION.MY_MESSAGE)
If &MSG.IsActive Then
/* do PeopleCode processing */
&MSG.Publish();
Else
/* do other processing */
End-if;