I have the an issue. I have two workflows created in SPD.
(Workflow 1) Is set to fire whenever a new item is created or changed, performs approval function
(Workflow 2) Is set to fire whenever a new item is created or changed, creates a duplicate (uses create list item activity) in the same list.
When workflow 2 fires when the condition is met it creates an item but the workflow 1 nor workflow 2 never fires on the newly created item. But if the item is created manually workflow triggers fine.
Is there a way to trigger the workflow even when the item is created by SPD activity.
Note : Both are SP 2013 workflows so am not able to use even Start a list workflow activity.
Thanks for the suggestions !
I tried logging to history list and also giving a 5 minute pause, but the workflow was not triggered on the newly created item.
As suggested have used Update item activity to update few fields , but no luck in triggering the workflow even after the update.
Are there any other approaches which i can try ?
Hi Prashanth,
step 1 -> first workflow should be in workflow 2013 ->set on item start and update
step 2 -> second workflow should be in workflow 2010 -> set on item update -> after that set your desire functionality in workflow ->(next line is magic line. This line will stop your workflow to run in continues loop/deadlock) add Stop workflow activity after your functionality done
Stop workflow activity only available in SPWF 2010.
Thanks, Enjoy SharePoint Hardik Akbari