acknowledge
Short summary
This method acknowledges an error in the state machine and resets the current step to the step befor the error occured.
Parameters
none
Code
Declaration
{attribute 'hide'}
METHOD acknowledge
Implementation
IF(THIS^.gotHereByError)THEN
THIS^.next := THIS^.last;
THIS^.wasNotSuccess := FALSE;
THIS^.wasError := FALSE;
THIS^.wasTimeoutError := FALSE;
THIS^.wasSuccess := TRUE;
END_IF