I am hitting my head to the wall with one of workflows I have prepared. Initially I created a complex IF..ELSE logic and was refusing to run properly. SO I thought that I might did something wrong and simplified the IF..ELSE logic as much as I could.
Now it works.. but only the first time I execute it, and after that "Started" and after few seconds "Cancelled". I cannot understand what happens. How can it run once perfect and then does not???
I have set it up to run manually but supposed to be running automatically on "new item added". Both ways fail to run properly.
Following is my workflow script for your reference (I have black marked sensitive data for my company):
This is totally a very bizarre situation. I hope someone can help me.