Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
thijsvdv
Frequent Visitor

Pipeline Name not available in system variables, even though it shows it should be available

Since a couple of weeks, the system variable Pipeline Name (@pipeline().PipelineName) is no longer available. It shows that it is available in the system variables overview: 

thijsvdv_1-1725268763033.png

 

However, when I try to reference the variable in a pipeline activity I get the following error: 

thijsvdv_0-1725268724108.png

I suspect this is a bug, can someone confirm this?

 

Thanks!

5 REPLIES 5
thijsvdv
Frequent Visitor

An update from my side, it looks like the bug is partially fixed. If I run the complete pipeline the variable can be used, however it still returns an error when you try to preview the data and the variable is used in the query. 

NandanHegde
Super User
Super User

Can you please provide screenshot of your activity where you are using this system variable? And which region this factroy pipeline is being used?

Because the below variable is working for us

NandanHegde_0-1725275148012.png

 




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

Hi Nandan, 

 

Thank you for your quick response. I can confirm that the error doesn't occur when setting a variable, I have just tested that as well. I encounter the error when using the system variable in a copy activity. I've tried this with different sources, but no difference there. The region the factory is used in is West Europe.

 

As you can see in this screenshot below, through this way I can easily reproduce the error by trying to preview the data: 

thijsvdv_0-1725275908156.png

 

 

Anonymous
Not applicable

Hi @thijsvdv ,

I have also created a Copy data in the Pipeline of Data Factory.

vyilongmsft_0-1725515452882.png

You can clearly see here that the error is caused by not finding the PipelineName when you output the result you want.

vyilongmsft_2-1725515773263.png

The reason for the error is that the PipelineName is not found, so I don't think you need to use this step here at all. You can directly choose not to check Enter manually for the next step.

vyilongmsft_3-1725516894036.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Yilong,

 

Thank you for your response. I have only used the enter manually option for demonstration purposes. It does not matter whether the table exists or not, the error says that the variable is not available when using the preview data option.

 

To be more clear, you can also test it in a select statement in a query box as seen below. But you can also test it when dynamically trying to create a new table with the pipelinename as dynamic name using the variable in the sink options. And to be more clear, this is not limited to the preview data option, it also fails when trying to run the pipeline.

 

thijsvdv_0-1725609494323.pngthijsvdv_1-1725609534368.png

In addition, to be even more clear, this select statement does not work: 

thijsvdv_2-1725609961635.png

But this select statement does work:

thijsvdv_4-1725610462603.png

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.