I am working on a Sharepoint Online environment. I have a 2013 Main Workflow running sub 2010 workflows. Let me set this straight: everything worked properly until today. I never saw this error before, and I am finding the waste of time trying to search online as to what this generic stupid error could really mean extra-annoying.
The main workflow is being accessed as supposed to, the history logging is being done properly in this first stage. Once the sub workflow is accessed, immediately the error is logged in the history list. And when I say immediately, I mean immediately, the first command is not even done. (In fact Status is saying: Failed on start)
Failed on start (retrying)
The workflow could not create the list item. Make sure the list exists and the user has permissions to add items to the list
The thing is, the 'Create item' command in the sub workflow, comes after the Sub workflow would supposedly have already created 2 history logs. These are nowhere to be seen in the history list: I only see the error. So Sharepoint is telling me that the item could not be added because: the list may not exist, or the user may not have permissions, BUT the flow would not have reached that point, as no logs are actually surpassed! Nice one Sharepoint :')
I changed the permissions of the client experiencing this issue to be global admin, but it didn't solve the problem. I am trying to run them from my account but still: same problem.
I found somewhere that the problem could be with cache, but I cannot seem to find from where I can reset it. Besides, having to reset the cache because of this idiotic problem. to me, really makes no sense.
Any suggestions would be appreciated.
UPDATE: The workflow is working properly on previously created list items. The issue is happening on newly created list items. Other workflows are working properly too: for example, I have a workflow which runs automatically on creation/update and it's working as supposed to.