Dec 15 2016 12:57 PM
Experiencing something odd here. I have a doc library that uses a SPD workflow to copy the current item to another library. To do this I'm using an App Step to elevate permissions in the workflow as the destination library is not accessible to the user.
This other library has an Approval workflow that starts when a document is created. Problem is, it doesn't fire for a document copied using the App Step. Drop a doc into the second library directly and the workflow fires as expected.
Dec 15 2016 01:39 PM
SolutionThis is normal behaviour. A workflow will not automatically trigger on an item that is created by a workflow. This protection mechanism is called 'workflow recursion prevention'. Example: A workflow is triggered when a new document is added. That workflow created a second document in the same library. This would result in an endless loop.
You can solve this issue by using rest calls to start the workflow on the new created item. You can find more information at the following link.
Dec 15 2016 01:39 PM
SolutionThis is normal behaviour. A workflow will not automatically trigger on an item that is created by a workflow. This protection mechanism is called 'workflow recursion prevention'. Example: A workflow is triggered when a new document is added. That workflow created a second document in the same library. This would result in an endless loop.
You can solve this issue by using rest calls to start the workflow on the new created item. You can find more information at the following link.