cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate II
Advocate II

Trigger SharePoint When a file is created/modified properties only is missing properties!

I am using the trigger SharePoint - When a file is created or modified (properties only) and it appears to be missing properties at run time.

 

In the editor I see the properties I want to work with:

 

When it runs, the trigger doens't have the properties and the value doesn't show up in my further actions

 

Lozzi
slalom
3 REPLIES 3
Advocate IV
Advocate IV

I have encountered the same problem. On run time, a condition fails as the modified by appears to be NULL. When I click open the trigger (output used in condition), I see no mention of modified by or editor, only author. This Flow was working earlier. Something changed?

 

Error i'm getting: 

InvalidTemplate. Unable to process template language expressions for action 'Condition_-_Modified_by' at line '' and column '': 'The template language function 'endswith' expects its first parameter to be of type string. The provided value is of type 'Null'. 

Edit: this prevented my flows from going in an error state. However, the condition i set to check whether the item was modified by a service account (such as the one used in the flow) did not work anymore as the variable remained empty. This caused my flow to enter an endless loop. Created a ticket for this issue.

 

As a workaround, I have added the initialize variable action as shown below before my condition and updated my condition to use the output variable 'Editor' from this action. Maybe this can be a temporary fix for you too. Would like to hear if something has changed in the backend that caused this issue to show up.

 

workaround.png

Hi @wnzn,

 

Thanks for your feedback, the issue is confirmed on my side, I would post this issue to my product team. If the issue is solved, I would reply here.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (2,938)