Thomas Segato
Thomas Segato

Reputation: 5255

Get file properties from a Item Created/Modified trigger

I am trying to create a flow that will copy a file from a library to another library dependant on a field value. I have added a On Item Created/Modified trigger but it dosent seem to provide ID for the item added/modified. What is the correct approach for getting this (see dnymaic properties are empty)?

enter image description here

Upvotes: 1

Views: 8898

Answers (2)

Dinesh
Dinesh

Reputation: 219

Use "Get File Metadata" step before getting the file properties as shown below and then check the field value from the "Get file properties" step

enter image description here

It is always better to use the metadata step for the SharePoint triggers

Upvotes: 2

Thomas Segato
Thomas Segato

Reputation: 5255

I have been doing a lot of testing now, and AFAIK this is not possible. However you can achieve the same by using a Property only trigger and then add a Get Content action. Its kind of the opposite, but gives same result.

Upvotes: 0

Related Questions