We have file collector configured to read with filter "Customer*.csv" which reads all files with name starting with "Customer". At the end of workflow, we are sending signal to other workflow. When we have multiple files, file collector is reading all files, and triggers multiple events to other workflow.
In the 2nd workflow, all signals are received with just few milliseconds gap. When we do enrichment (join with other table) and followed by delete the records using update activity, first signal itself is deleting the rows (qualifying rows of 1st signal and 2nd signal ) and when 2nd signal comes after a few milliseconds gap, it fails to find the record as records were deleted by 1st signal.
So, is there anyway, we can delay sending the 2nd signal OR wait for the 1st signal to complete the workflow then handle the 2nd signal?