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