Event cannot be deactivated due to infiinite loop defined in Event

Document ID : KB000088007
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
Deactivation of task 'XXXXXXXXXXX' (RunID 'XXXXXXX') will not be processed. Auto deactivation: never

The above message is displayed multiple times when there is a specific event configured that contains an infinite loop.

This is due to the event repeating itself.

0EMb0000001Ujcl.png

If an attempt is made to cancel the event the following messages appear in the WP log:
 
U00011178 Event XXXXXXXXXXXXXXXXXX (RunID: 'XXXXXXXXX') was canceled by user 'XXXXXX/XXXXXX’
U00012201 Deactivation of task ‘xxxxxxxxxxxxxxxx’ (RunID 'XXXXXXXX') will not be processed. Auto deactivation: never.

However, due to the infinite loop that is configured into the event, it is not possible to cancel it, and the U00012201 message is written to the WP log each time an attempt is made to cancel the event.

 
Environment:
OS Version: N/A
Cause:
Cause type:
Configuration
Root Cause: Event contains an infinite loop.
Resolution:
Do not use the same event as an "if not " condition because it will generate an infinite loop.

Fix Status: No Fix

Fix Version(s):
N/A
Additional Information:
Workaround :
Set the auto deactivation to “always” and then the event can be cancelled successfully.