Question
I managed to trigger my workflow for each import (event type Import/export and Operation IF) but I can't find the correct condition to trigger the workflow only if the imports generates errors.
Answer:
- I can suggest you some alternatives:
- "[M:IMP2]STAT>0": The screen IMPOBJ2 (abbreviation IMP2) is used when an import is executed. If there is an error, a number greater than zero is stored in the STAT field.
- "[V]GERRTRACE>0": It's a global variable that stores the number of errors in a log file.
I'm not sure if it's going to work... trial and error is the method. Perhaps someone else can help us with this issue.
- Obtener enlace
- X
- Correo electrónico
- Otras aplicaciones
- Obtener enlace
- X
- Correo electrónico
- Otras aplicaciones