Forum Discussion
Trigger Execute Fabric Item Notebook
Hi Anonymous ,
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?