I have an ADF that currently triggers from a blob storage event, blob created, ignoring empty blobs.
Previously this was correctly triggering a single ADF run when a new file was uploaded.
I have recently introduced a Logic App which copies a new file from a Sharepoint to blob storage. This works successfully, writing a single file to blob storage, however this is now triggering ten runs of the ADF pipeline.
Any advice on why this is occurring?
And any suggested solution for preventing multiple repeat runs triggered by the same file?
Currently defining my trigger with:
trigger={
"properties": {
"pipelines": [
{
"pipelineReference": {
"referenceName": df_pipeline_name,
"type": "PipelineReference"
},
"parameters": {
"filename": "@triggerBody().fileName"
}
}
],
"type": "BlobEventsTrigger",
"typeProperties": {
"blobPathBeginsWith": "/data/blobs/raw/spa_initial_drafts/included",
"blobPathEndsWith": ".docx",
"ignoreEmptyBlobs": True,
"scope": f"/subscriptions/{df_config['subscription_id']}/resourceGroups/{df_config['resource_group_name'].lower()}/providers/Microsoft.Storage/storageAccounts/{storage_account_name.lower()}",
"events": [
"Microsoft.Storage.BlobCreated"
]
},
}
}