Home General Discussion

Update workflow runs multiple times for same WorkItem

Stephane_BouillonStephane_Bouillon Customer Advanced IT Monkey ✭✭✭
I have a workflow that is triggered on update. I noticed it is executed multiple times, even though the workflow code updates a field that is checked in the workflow criteria, so normally it should run only once. What am I missing ?

Answers

  • Adam_DzyackyAdam_Dzyacky Product Owner Contributor Monkey ✭✭✭✭✭
    Could you describe the nature of a workflow a bit more? Criteria? Share your PowerShell perhaps?
  • Stephane_BouillonStephane_Bouillon Customer Advanced IT Monkey ✭✭✭
    When RelatedLocation on the incident is false, I have code to set the location based on the affected user's username. So normally after the workflow runs once, RelatedLocation should be true and the workflow should not be triggered anymore.
  • Adam_DzyackyAdam_Dzyacky Product Owner Contributor Monkey ✭✭✭✭✭
    What does RelatedLocation initialize as? False or Null?
  • Stephane_BouillonStephane_Bouillon Customer Advanced IT Monkey ✭✭✭
    No idea, in the criteria dropdown for that property I can only select false or true
Sign In or Register to comment.