Create a list from a custom template

I am having difficulty with creating a list in a subsite.
I am running the workflow against a list in my root site. Under my root site a have a subsite called “JCC”.
First, I create a new subsite called “1″. This is successful with your action pack for O365. The site URL for creating the site was xxxx.sharepoint.com/sites/cf/JCC/1.
Now I want to add a list to the new site named “1″.
I use the create list activity. I enter a siteUrl of “https://mmlp.sharepoint.com/sites/cf/JCC/1″, ListTitle of “CaseNotes”, ListTemplate of “CF-CaseNotes” and the correct O365 username and password. The ListTemplate is a custom list template that can be added to the same site manually. Both the filename and display name are the same.
The workflow fails as the list creation stage. I have also tried changing the siteUrl to “https://mmlp.sharepoint.com/sites/cf/JCC/1/” (adding a trailing slash) and that didn’t work. What am I doing wrong?

Hello Jeff,
Please, check if the list with the same URL already exists when you are trying to create the new list. You can set ‘ThrowError’ property to ‘No’ to omit such error. This allows to ignore the error for existing list and continue execution of your workflow.

I have confirmed that the list does not exist. I have been able to get this to work if I use the above parameters, but also fill in the list url property to equal “/JCC/1/CaseNotes”. Seems like only “CaseNotes” would be required.

Roman, Where would I find the “throw error” property in the create list activity?

As for the list URL, it requires only the last part of URL (in your case it is ‘CaseNotes’). As result the URL for the new list will be like this: ‘web url/Lists/CaseNotes’.

You have to see the property ‘ThrowError’ in the properties of the workflow action. If it is unavailable it means you use previous version of the Workflow Actions Pack.