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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
pellitteris
Advocate II
Advocate II

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 II
Advocate II

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
November Fabric Update Carousel

Fabric Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors