cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

File_arrival trigger in Workflow

NavyaSinghvi
New Contributor III

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 ?

 

1 ACCEPTED SOLUTION

Accepted Solutions

brockb
Valued Contributor

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.

brockb_0-1719977522755.png

Can you please give that a try and let me know how it goes?

Thank you.

View solution in original post

4 REPLIES 4

brockb
Valued Contributor

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.

NavyaSinghvi
New Contributor III

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.

brockb
Valued Contributor

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.

brockb_0-1719977522755.png

Can you please give that a try and let me know how it goes?

Thank you.

NavyaSinghvi
New Contributor III

Hi @brockb ,

At task level it is working fine. Thanks. 

Connect with Databricks Users in Your Area

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