I setup onpremise 2013 sites via powershell. I have been publishing workflows during setup using the nwadmin deployWorkflow command. When doing this the workflows create a task list. However the workflows are so dependent on the environment that when something changes in the environment the worklfows fail to publish THis causes failures in the script since I set up views on those tasks list. I have tried to use a minimally configured workflow in order to accomplish this. I created a workflow with basically just an assign Task action in it thinking that this is what creates the task list once the workflow has been successfully published, however that is not the case.
I'm an admin, not a developer so my question to you guys is what minimum set of actions do I need to have in a workflow so that a task list is created when its published. I do not want to use any default task lists as we use a 1 to 1 mapping of list to task list.
reminder: This is not being done thru the browser. It's all done with powershell.