I have a simple workflow running on Incidents and starts when record status changes. This workflow sends an email to the owner if someone else has closed / completed the incident other than the owner.
I also have a plugin on incident, when the incident is updated or completed the plugin needs to update a calculated field so sometimes I need to reopen the incident. This will cause my workflow to run 2-3 times sending 2-3 emails.
I´ve tried creating a custom workflow running on top of the workflow trying several ways with depth / SharedVariables but it seems to me that the workflow is running on independently (each instance).
My next step was to query the incident and check if the workflow has been ran and then avoid running the workflow. Maybe it doesn´t make any sense but I could give it a try.
Are there any suggestions here?
-Ragnar