I am using SharePoint Designer 2013 to modify a site hosted on SharePoint 2016. I am creating a workflow, and at one step, we need to create a folder in a separate Library that is related to a specific List Item.
I select the Action > Create List Item, and it creates a workflow step "Create item in 'this list'" where I supply that information.
Now I am doing this with workflow variables: (VAR1) for the Library URL itself, and (VAR2) for the Folder's name.
For (1), it is https://dialogue.sppprod/grp/SITE/LIBRARY/ and then for (2), FOLDERNAME
Which then makes the Path and Name [%Variable: VAR1%][%Variable: Var2%]
I get an error: 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 list exists. And I have Designer & DesignerPlus permissions.
I have looked at and taken the advice from these sites: SPD 2013 Workflow - Help needed creating folder in subfolder https://www.c-sharpcorner.com/article/workflow-to-auto-create-folder-structure-while-creating-new-document-set-in-shar/ https://social.msdn.microsoft.com/Forums/sharepoint/en-US/94621847-cf27-458f-9737-21662c90f9c8/workflow-creating-folder-then-subfolders?forum=sharepointdevelopmentprevious
Unfortunately, I am not able to determine what is going on. First off, the workflow doesn't actually stop - it just states that there was an error and does not log any of the logs. And then it actually does other work - such as setting the URL to link to the new folder (though not logging it has done it, and the folder not being made).
What am I doing wrong here? What am I missing. Let me know if you need any more information.