I have a workflow with a recurrence so at the end of my workflow I want to create a new item using 'Create List Item' and have the workflow initiate for that new item. Is this possible?
Is it a List workflow? If so you can make the workflow start option as every new item start.
Your workflow is creating new items and on every new item the workflow will trigger. But looks like it is not something your requirement. Can you explain us in detail.
Yep - this is possible. Just have your workflow set to Start when items are created.
If you're creating a new item in the same list be careful you don't create some kind of infinite loop!
Yeah if the requirement is with in the same list, it will become an infinite, it can be controlled if Safe looping is enabled. But this is an abrupt end of our workflow after 5 to 6 repetitions!
Another option would be to have the settings as per the screenshot below:
Then in your workflow that creates the new item you can use a web service action to call the workflow.asmx StartWorkflowOnListItem method, see below. This way you have total control over when the workflow runs.
Thanks, but I also need the workflow to run when new items are created manually. Also I have nintex workflow for office 365 so my call web service looks like this.. any ideas if this will still work?
Bit more detail:
- I have nintex workflow for office 365
- the workflow is set to start when new items are created however this does not include items created by the system account as Phillip said. (I have tested this)
How do you create Start Workflow action for new create item? When I use start workflow it is start Workflow for current item.