โ07-01-2024 04:40 AM
I am using "job.trigger.file_arrival.location" in job parameters to get triggered file location . But I am getting error "job.trigger.file_arrival.location is not allowed". How can I get triggered file location in workflow ?
โ07-02-2024 08:33 PM
Hi @NavyaSinghvi ,
Thank you for clarifying that. I believe I was able to replicate the issue you're describing and was able to circumvent it by adding `job.trigger.file_arrival.location` as a task-level parameter, and not as a job-level parameter.
Can you please give that a try and let me know how it goes?
Thank you.
โ07-01-2024 09:27 AM
Hi @NavyaSinghvi ,
Can you please confirm the Requirements and Limitations listed in this doc:
https://docs.databricks.com/en/workflows/jobs/file-arrival-triggers.html#requirements
If each of those are met, perhaps you could share a screenshot of your setup with the error message?
Thank you.
โ07-02-2024 05:59 AM
Hi @brockb ,
All requirements from documents are met. I am able to trigger workflow based on file arrival. But can not use job.trigger.file_arrival.location in job parameters.
โ07-02-2024 08:33 PM
Hi @NavyaSinghvi ,
Thank you for clarifying that. I believe I was able to replicate the issue you're describing and was able to circumvent it by adding `job.trigger.file_arrival.location` as a task-level parameter, and not as a job-level parameter.
Can you please give that a try and let me know how it goes?
Thank you.
โ07-03-2024 03:27 AM
Hi @brockb ,
At task level it is working fine. Thanks.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group