This function outputs a warning message defined by the user. The warning message is defined as the first parameter; optionally, a reference number (affected element) can be passed as the second parameter. If this warning occurs, the user-defined warning is output in the log. If the mapping is used within a running job, a warning task is created in addition to the log entry in the event of a warning.
In order to create the information task, the Generate tasks option must be selected in the extended mapping properties. The tasks that are then created are marked as completed.
AddWarningIssue ('warning message')
AddWarningIssue ('warning message', 'reference number (affected element)')