I'm facing some issues with the type of documents that I'm uploading. Right now, I have created a workflow on a document library that triggers an Assign flexi-task action on document creation. The workflow works fine for a document.
However, when I create a Folder, the workflow errors. Due to which I used Run-if action and used the content type condition to identify and trigger the workflow when the document type is not a Folder.
When I do that, I'm getting this error.
Can anyone please suggest a workaround? If I remove the Run-If condition, the workflow does work on documents.