for each documentation is lacking in detail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2025 08:43 PM - edited 07-14-2025 08:45 PM
we are trying to use for each task to concurrently execute a spark_python_task with different input parameters.
Here is the flow:
Job JSON configuration will configure a job cluster. task1 will set the payload something like
```python
- Labels:
-
Workflows
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2025 06:25 AM
Hi @bbg ,
Even if you haven't added libraries manually, tools like dbx can include dependencies from your project setup, which can trigger this error. Try removing all libraries and environment settings from your job, cluster, and task configs before deploying again.
Also, just to note - dbx is deprecated. It's been replaced by Databricks Asset Bundles, which work better with features like for_each_task. If possible, consider switching to Bundles for smoother deployment.