Skip to content

Status_Log_Id - BusinessProcess

When Log_Status is sent, it directs the message to status_log_ID

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer Status_Log_Id
Access Type Syntax
Read Access: Get Status_Log_Id to IntegerVariable
Write Access: Set Status_Log_Id to IntegerVariable/Value

Description

Object ID of status-log object. When Log_Status is sent, it directs the message to status_log_ID. If this ID is zero, status logging will be ignored. (All status logging goes through the message Log_Status. Log_Status checks the value of this property. If non-zero, it sends the message Log_Status to the status-object ID. If zero, it does nothing.)

It is your responsibility to include a status-log object in your program (you can use the one provided in StatLog.pkg as an example) and to assign the status object's ID to this property.

Use StatLog.pkg // creates object named Status_Log
:
:
Object xxxx is a BusinessProcess
    Set Status_Log_Id to (Status_Log(Self))
    Set Status_Log_State to TRUE
    :