Document library properties flow

%3CLINGO-SUB%20id%3D%22lingo-sub-794050%22%20slang%3D%22en-US%22%3EDocument%20library%20properties%20flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-794050%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20SP%20document%20library%20that%20contains%20a%20few%20required%20fields.%26nbsp%3B%20When%20a%20file%20is%20uploaded%2Fmodified%2C%20I%20would%20like%20Flow%20to%20email%20the%20owner%2Fmodifier%20to%20update%20the%20required%20fields%2C%20however%20when%20I%20attempted%20to%20do%20so%2C%20Flow%20is%20giving%20me%20an%20error%20message.%20Could%20someone%20please%20provide%20some%20guidance%20and%20let%20me%20know%20what%20I'm%20doing%20incorrectly%20please.%26nbsp%3B%20I%20am%20fairly%20new%20to%20Flow%20so%20please%20accept%20my%20apologies%20in%20advance%20for%20asking%20too%20many%20questions.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F126096i9D0514D4312DA518%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22SP%20Doc%20Lib.jpg%22%20title%3D%22SP%20Doc%20Lib.jpg%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ESP%20Doc%20Lib%20Flow%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20in%20advance%20for%20the%20assistance.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-794050%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-794111%22%20slang%3D%22en-US%22%3ERe%3A%20Document%20library%20properties%20flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-794111%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F388183%22%20target%3D%22_blank%22%3E%40R3d3mpt10n%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20mocked%20up%20something%20similar%20and%20it%20worked.%20Here%20is%20a%20screenshot%20of%20my%20Flow%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F126100i2530B23B0DFD3977%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Capture.PNG%22%20title%3D%22Capture.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20you%20share%20the%20error%20message%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENorm%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-795151%22%20slang%3D%22en-US%22%3ERe%3A%20Document%20library%20properties%20flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-795151%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F111382%22%20target%3D%22_blank%22%3E%40Norman%20Young%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EBelow%20is%20the%20error%20message%20I%20am%20receiving.%20The%20error%20comes%20up%20when%20it%20gets%20to%20the%20trigger%20%22Apply%20to%20each%22.%20Ideally%2C%20I%20would%20like%20Flow%20to%20perform%20the%20validation%20once%20an%20item%20is%20created%20or%20modified%20and%20to%20constantly%20email%20the%20owner%20until%20the%20properties%20are%20resolved%20but%20unsure%20how%20to%20go%20about%20doing%20so.Unable%20to%20process%20template%20language%20expressions%20for%20action%20'Condition'%20at%20line%20'1'%20and%20column%20'2669'%3A%20'The%20template%20language%20function%20'contains'%20expects%20its%20first%20argument%20'collection'%20to%20be%20a%20dictionary%20(object)%2C%20an%20array%20or%20a%20string.%20The%20provided%20value%20is%20of%20type%20'Null'.'.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-797309%22%20slang%3D%22en-US%22%3ERe%3A%20Document%20library%20properties%20flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-797309%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F388183%22%20target%3D%22_blank%22%3E%40R3d3mpt10n%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20error%20is%20indicating%20a%20null%20string%20being%20passed%20in%20for%20evaluation.%20Without%20seeing%20the%20doc%20library%20setup%20and%20Flow%20I%20can't%20help%20debug%20the%20error%20further.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20the%20Flow%20image%20I%20provided%20in%20my%20previous%20reply%20help%3F%20I%20believe%20it%20achieves%20what%20you%20describe.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENorm%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-799856%22%20slang%3D%22en-US%22%3ERe%3A%20Document%20library%20properties%20flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-799856%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F111382%22%20target%3D%22_blank%22%3E%40Norman%20Young%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYes%2C%20the%20Flow%20image%20you%20provided%20helped%20a%20great%20deal%20and%20achieves%20what%20I%20wanted%20to%20do.%26nbsp%3B%20Thank%20you%20so%20much%20for%20your%20assistance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-801691%22%20slang%3D%22en-US%22%3ERe%3A%20Document%20library%20properties%20flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-801691%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F388183%22%20target%3D%22_blank%22%3E%40R3d3mpt10n%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20pleasure.%20I'm%20glad%20it%20worked%20out.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENorm%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello Everyone, 

 

I have a SP document library that contains a few required fields.  When a file is uploaded/modified, I would like Flow to email the owner/modifier to update the required fields, however when I attempted to do so, Flow is giving me an error message. Could someone please provide some guidance and let me know what I'm doing incorrectly please.  I am fairly new to Flow so please accept my apologies in advance for asking too many questions. 

 

SP Doc Lib FlowSP Doc Lib Flow

 

Thank you in advance for the assistance. 

  

5 Replies

Hi @R3d3mpt10n,

 

I mocked up something similar and it worked. Here is a screenshot of my Flow:

Capture.PNG

 

Can you share the error message?

 

Thanks.

 

Norm

Hi @Norman Young 

Below is the error message I am receiving. The error comes up when it gets to the trigger "Apply to each". Ideally, I would like Flow to perform the validation once an item is created or modified and to constantly email the owner until the properties are resolved but unsure how to go about doing so.

Unable to process template language expressions for action 'Condition' at line '1' and column '2669': 'The template language function 'contains' expects its first argument 'collection' to be a dictionary (object), an array or a string. The provided value is of type 'Null'.'.

Hi @R3d3mpt10n,

 

The error is indicating a null string being passed in for evaluation. Without seeing the doc library setup and Flow I can't help debug the error further.

 

Does the Flow image I provided in my previous reply help? I believe it achieves what you describe.

 

Norm

Hello @Norman Young 

 

Yes, the Flow image you provided helped a great deal and achieves what I wanted to do.  Thank you so much for your assistance.

Hi @R3d3mpt10n,

 

My pleasure. I'm glad it worked out.

 

Norm