Skip to main content
December 12, 2024

What could be a reason for a Save button in a workflow to be triggered several times after save?

  • December 12, 2024
  • 2 replies
  • 5 views

For some reason, the workflow save event is being called several times.

I have this configured right (I believe):

Dim returnValue As Object = args.DefaultReturnValue
args.UseReturnValueFromBusinessRule = False
args.Cancel = False

Case Is = BREventOperationType.Workflow.UpdateWorkflowStatus

Dim sWorkflowImpactMessage As String = args.Inputs(3)

'Example:
'Reason = Save Data Cells
'Data Entry Type = CubeView
'Cube View Or Filename = NameOfCube
'Data Entry Audit ID = 0d6e8f60-de0f-4ab3-ba69-2f28a0d2
'Task Activity ID = 00000000-0000-0000-0000-000000000000

If ( sWorkflowImpactMessage.Contains("Reason = Save Data Cells") ) Then

If (args.IsBeforeEvent = False) And (sDataEntryType = "CubeView") Then

Here is my code - If I print a message, I see it several times.

 

Thanks
Raf

2 replies

December 12, 2024

Interesting that in a lower environment it works fine, only 1 task (1 instance) is triggered.

March 28, 2026

Hi Raf,

Did you ever find anything more on this? I've been seeing the same thing (also using similar code). I'll continue testing and let you know if I find anything further.