Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
Is it possible to use the Reflex trigger to trigger a notebook that gets the values from the "Additional information" field?
If yes how would I write the Notebook to use the data sent from the trigger?
Are there any examples of this?
I want to do some manipulation before I use the notebook to trigger an HTTP request if the solution mentioned above does not work are there any ways to trigger an HTTP with the values from the "Additional information" field?
Solved! Go to Solution.
Hi @HallvardMM ,
Yes, you can trigger a Fabric notebook using a Reflex trigger. When conditions are met, the corresponding notebook is executed.
To achieve this, create a Reflex trigger that monitors your desired condition. In the "Act" card for the trigger, select "Fabric item" and choose the notebook you want to execute.
In your notebook, you can access the trigger data using the params object. For example:
```python
# Accessing parameters sent from the trigger
parameter_value = params.get("parameter_name")
```
Replace `"parameter_name"` with the actual parameter name you want to retrieve.
For more details, please refer: Trigger Fabric items - Microsoft Fabric | Microsoft Learn
Develop, execute, and manage notebooks - Microsoft Fabric | Microsoft Learn
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Is this question from the future? 😅
<<My bad, it is in different format: mm/dd/yyyy>>
😃 Sorry for somewhat reactivating this one, but the solution doesn't appear to actually work for me. Doesn't seem to be such a thing as a params dictionary when the notebook is called from a Reflex trigger
It looks like Fabric introduced some changes, relex was there before and working pretty well. Now there is activator but not refreshing with respect to Semantic Model. I am also looking out for a solution. 🤕
Hi @HallvardMM ,
Yes, you can trigger a Fabric notebook using a Reflex trigger. When conditions are met, the corresponding notebook is executed.
To achieve this, create a Reflex trigger that monitors your desired condition. In the "Act" card for the trigger, select "Fabric item" and choose the notebook you want to execute.
In your notebook, you can access the trigger data using the params object. For example:
```python
# Accessing parameters sent from the trigger
parameter_value = params.get("parameter_name")
```
Replace `"parameter_name"` with the actual parameter name you want to retrieve.
For more details, please refer: Trigger Fabric items - Microsoft Fabric | Microsoft Learn
Develop, execute, and manage notebooks - Microsoft Fabric | Microsoft Learn
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Attempting similar stuff using a Reflex trigger, but attempting code advised above throws NotDefined on the params object. Am I missing something?