Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi community, I developed a pipeline with simple estructure:
The notebook activy trigger the fail activity, but I run it, it always throw Failed Status :(, I think it should be succeeded if the Fail activity works fine.
Env. trial fabric.
In the normal way the @activity(notebbok).output throw ErrorCodeNotString
the message is:
So is normal status "Fail" to Fail activity? the trial fabric dont suppot failed?
Thanks in advance.
Solved! Go to Solution.
Hello @Peter_23,
Thank you for reaching out to the Microsoft Fabric Community Forum. I have reproduced your scenario in a Fabric trial workspace, and here’s what I found:
Example configuration I used:
Output when Notebook fails → Fail activity runs:
So yes, it is normal for the Fail activity to mark the pipeline as Failed. The trial Fabric environment supports it. the key is that the Fail activity requires both a Fail message (string) and an Error code.
If you instead want to capture the error without failing the pipeline, you can use alternatives like Set Variable or Append Variable activities instead of Fail.
Hope this clarifies.
Best Regards,
Ganesh singamshetty.
Hello @Peter_23,
Thank you for reaching out to the Microsoft Fabric Community Forum. I have reproduced your scenario in a Fabric trial workspace, and here’s what I found:
Example configuration I used:
Output when Notebook fails → Fail activity runs:
So yes, it is normal for the Fail activity to mark the pipeline as Failed. The trial Fabric environment supports it. the key is that the Fail activity requires both a Fail message (string) and an Error code.
If you instead want to capture the error without failing the pipeline, you can use alternatives like Set Variable or Append Variable activities instead of Fail.
Hope this clarifies.
Best Regards,
Ganesh singamshetty.
The fail activity is failing because it expects a string input. Both expressions you tested aren't strings so you would need to convert them to string to use them.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |