Skip to main content
Newcomer
Dec 12, 2024 4:02 AM UTC

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

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

Newcomer
Dec 12, 2024 7:46 AM UTC

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

Mar 28, 2026 3:12 PM UTC

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.