I am using SharePoint Designer to customise a 'new' form.
I would like it to include a form action button that triggers a list workflow. I can easily get it to trigger a site workflow but not list. Can anybody help me?
Thanks.
I am assuming you don't want the workflow to start on any item creation but only if this specific button is pushed. I'm also assuming you're referring to the Form Actions button you can insert when editing the .aspx form in SharePoint (which creates and associates a specific Site Workflow). I have had a similar requirement from an edit form and learned that SP 2013 list workflows cannot be programmatically started like this. You can have that site workflow trigger SP 2010 workflows if those will meet your needs. I ultimately used a button object (which had type="button" rather than submit), which set a yes/no field and then triggered the submit action. My workflow ran on item creation and checked for this value, if yes-run, if not-end workflow.
This is from an old version, but the pattern may still work.
https://techtrainingnotes.blogspot.com/2015/10/sharepoint-launch-site-workflow-from.html