Unable to delete the Workflow after error

Description

It has been reported that in Adobe Campaign standard, after an error was hit, the workflow itself could not be deleted. Even after modifying and re-saving the workflow the following error gets thrown when attempting to delete the workflow.

Error:

ST-360011 An error has occurred - please contact your administrator.

RST-360011 An error has occurred - please contact your administrator.

XTK-170017 The expression definition exceeds the number of authorized recursions.

XTK-170017 The expression definition exceeds the number of authorized recursions.

XTK-170037 ‘like’ is a binary operator. At least one operand is missing.

XTK-170036 Unable to parse expression ‘(@id IN (23867212 , 23912681 , 22426751 , 22426754 , 22426762 , 22426761 , 23632222 , 23731904 , 23832292 , 23632221 , 24070631 , 24070634 , 23543381 , 23543384 , 23543391 , 22427122)) AND ((((((((((((((((((((((((((((((((( like + ) AND ( like + )) AND (( like + ) AND ( like + ))) AND ((workflow/geoUnit/@fullName like ‘/all/’ + ‘%’) AND (workflow/orgUnit/@fullName like ‘/all/’ + ‘%’))) AND ((workflow/geoUnit/@fullName like ‘/all/’ + ‘%’) AND (workflow/orgUnit/@fullName like ‘/all/’ + ‘%’))) AND ((workflow/geoUnit/@fullName like ‘/all/’ + ‘%’) AND (workflow/orgUnit/@fullName like ‘/all/’ + ‘%’))) AND ((workflow/geoUnit/@fullName like ‘/all/’ + ‘%’) AND (workflow/orgUnit/@fullName like ‘/all/’ + ‘%’))) AND ((workflow/geoUnit/@fullName like ‘/all/’ + ‘%’) AND (workflow/orgUnit/@fullName like ‘/all/’ + ‘%’))) AND ((workflow/geoUnit/@fullName like ‘/all/’ + ‘%’) AND (workflow/orgUnit/@fullName like ‘/all/’ + ‘%’))))’.

Resolution

What is preventing the delete from occurring is that the application is still attempting to write logs to the workflow. This process can get stuck and to fix the issue, the workflow logs need to be purged. This kills the backend job and allows the workflow to be deleted.

To purge the workflow history see the online documentation:

https://experienceleague.adobe.com/docs/campaign-standard/using/managing-processes-and-data/executing-a-workflow/monitoring-workflow-execution.html?lang=en

On this page