The LogWarning function writes an activity detail entry to the log file for an integration and increases the warning count for the integration by one.
Syntax
LogWarning
[message, source, status_code]
Parameters
message—An
optional string parameter corresponding to the Log Text item of the
activity detail entry written to the log file.
source—An optional string parameter corresponding to the source item of the activity detail entry written to the log file.
status_code—An optional long integer parameter corresponding to the Status Code item of the activity detail entry written to the log file.
Comments
All parameters for this
function are optional.
Example
The following example is
the Before Query script for an integration. It overrides the
criteria for the query. The warning indicates that the criteria
were overridden.
query.OverrideCriteria = “State = 'ND'” LogWarning “Overriding query criteria”, query.QueryName, 1000