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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
pellitteris
Advocate I
Advocate I

Invoked pipeline triggered by "Invoke Pipeline (Preview)" has TriggeredBy* system variables empty

The system variables of the pipelines called by an "Invoke Pipeline (Preview)" action are not populated correctly or at least they are not as populated as those called by "Invoke Pipeline (Legacy)".

In particular the following variables are not populated:

 

  • pipeline().TriggeredByPipeline
  • pipeline().TriggeredByPipelineName
  • pipeline().TriggeredByPipelineRunId

 

4 REPLIES 4
Anonymous
Not applicable

Hi @pellitteris ,

I made a similar maneuver to the query you raised.

vyilongmsft_0-1729217037423.png

I think you need to write @pipeline. firstly. After this, it will give you what you want.

 

 

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.

sorry @Anonymous, the problem is not that I don't know or can't find the variable, the problem is that the runtime value of the system variables @pipeline()?.TriggeredByPipeline* is null using the new "Invoke Pipeline" activity.

pellitteris
Advocate I
Advocate I

Hi @Expiscornovus,

 

I created two pipelines, a caller and a worker. The caller pipeline calls the worker pipeline using the "Invoke Pipeline (Preview)" activity. Inside the worker pipeline I read the values ​​of the system variables by setting some variables. In this case the variables are always null. If instead I use the "Invoke Pipeline (Legacy)" activity the variables are always populated.

Expiscornovus
Super User
Super User

Hi @pellitteris,

 

Just to double check, can you share how you tested this?

 

I tried to reproduce this with a set variable activity and I was also getting a null value back in the outputs of that variable activity.

 

I used the below expression in a Pipeline return value variable type.

@pipeline()?.TriggeredByPipelineRunId

 

 

setvariable_expression.png

 

The set variable activity output

 

setvar_runid.png

The invoke pipeline (preview) activity output

 

pipelinerunid.png

 

 



Happy to help out 🙂

I share #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel

Helpful resources

Announcements
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.

June 2025 community update carousel

Fabric Community Update - June 2025

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