I have a site workflow which I intend to run every night on a schedule. The workflow queries a list and pulls data as per the filter. When it finds more than it loops through the rows and assigns a FLEXI task for every list item. In my test case I have two flexitasks (two list items) and after I respond to the first one I receive another task. After I respond to the second flexi task, the workflow fails.
Error: SWF workflow has ended unexpectedly.
I have no idea how to troubleshoot even though I have several log history actions to check values. Please help. Thanks in advance