I tried to import a workflow from Stage to Prod environment. The workflow works fine in Stage environment and the export is also successful. When i tried to import the same workflow, i am getting this error "XTK-170017 The expression definition exceeds the number of authorized recursions". I am not sure why this problem occurred. Please share solution for this issue.
Typically this error occurs when a workflow gets corrupted for some reason and a user attempts to delete it, so it a little odd that its occurring on import.
What I would recommend is ensuring that the workflow in Stage is stopped entirely, and the workflow log history is purged. Then try exporting it again. This should sever any potential temp data/table issues that might be causing the error on import.