question

MohsenAkhavan avatar image
0 Votes"
MohsenAkhavan asked HimanshuSinha-MSFT commented

How to use a output of a databricks activity in future activity?

I have a Databricks activity in ADF and I pass the output with the below code:

 dbutils.notebook.exit(message_json)

118610-image.png


Now, I want to use this output for the next Databrick activity.

118664-image.png

As my search, I think add the last output into base parameters in the second activity. Am I right?

118672-image.png

and other questions, How can I use this output inside the Databrick notebook?


azure-data-factoryazure-databricks
image.png (17.8 KiB)
image.png (11.7 KiB)
image.png (33.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

HimanshuSinha-MSFT avatar image
0 Votes"
HimanshuSinha-MSFT answered HimanshuSinha-MSFT commented

Hello @MohsenAkhavan ,
Thanks for the ask and using the Microsoft Q&A platform .
I think your apporah for the first part is correct .
You should use the Widgets for the passing the paramters . Please read about the same here


Please do let me know how it goes .
Thanks
Himanshu
Please do consider clicking on "Accept Answer" and "Up-vote" on the post that helps you, as it can be beneficial to other community members


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @HimanshuSinha-MSFT ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .In case if you have any resolution please do share that same with the community as it can be helpful to others . Otherwise, will respond back with the more details and we will try to help .
Thanks
Himanshu

0 Votes 0 ·