cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DavidLozzi
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
wnzn
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

v-xida-msft
Community Support
Community Support

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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (37,999)