cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
TiagoSa
Frequent Visitor

How to get specific output from trigger

I'm using "When a file is deleted" trigger in my msflow and it outputs the following:

{
  "ID"4750,
  "Name""Capture",
  "FileNameWithExtension""Capture.PNG",
  "DeletedByUserName""Tiago",
  "TimeDeleted""2020-04-01T16:03:35Z",
  "IsFolder"false
}
I am trying to compose a variable which will contain the value of "FileNameWithExtension". I know i have to use triggerbody() but not sure how to specifically just get Filenamewithextension...
1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: How to get specific output from trigger

The filename with extension should be available in the dynamic content.  If you don't see it at the point in your flow where you want to use it you can load it into a Compose or Variable at the start of the flow.  Please note that you need to be a site collection administrator (or I think Owner) to be able to see all the information in the trigger.

 

screenshot.png



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

3 REPLIES 3
Dual Super User
Dual Super User

Re: How to get specific output from trigger

The filename with extension should be available in the dynamic content.  If you don't see it at the point in your flow where you want to use it you can load it into a Compose or Variable at the start of the flow.  Please note that you need to be a site collection administrator (or I think Owner) to be able to see all the information in the trigger.

 

screenshot.png



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

TiagoSa
Frequent Visitor

Re: How to get specific output from trigger

Thanks @Pstork1 , I'm so burnt out I forgot the outputs are automatically available in dynamic content! 🙂

Dual Super User
Dual Super User

Re: How to get specific output from trigger

I wasn't sure if it was that or the delete trigger.  A lot of the information that should be available isn't there for security reasons.  At least it wasn't last I checked.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (6,181)