Unable to pass the task variables from Python Wheel to ForEach task

Divya_sreeE
Databricks Partner

I understand that task variables are supported in Databricks notebook , but there is a requirement from client to use python wheel package in Databricks workflow . We are not able to set the task variables using dbutils in python wheel file. Kindly suggest other alternatives to pass dynamic variables from the first python wheel task and use these variables in For Each as input.(Inside For each we have a 2nd python wheel task)