I've got a list A. When an item is created, a folder is created in library A.

When a file is created in one of the folders in Library A, the item (which triggered the folder) from List A must be updated.

Is that possible?

thanks in advance!


Yes, it is possible. What you need to do is create relation between library and list.

Create a column in Library A 'ItemIDOfListA'.

Create flow on List A - When item is created in List A, create folder in LibraryA and update column 'ItemIDOfListA' with item id.

Create flow on Library A -

  • when a file is uploaded to library, get folder in which document is uploaded, get value of ItemIDOfListA column.

  • Query List A using item Id and updated your list item as per your requirements.

Edit - Just tried MS Flow to update Library Column with Item Id of list item which triggered workflow. It is working fine.


enter image description here

Design of MS Flow

enter image description here

  • Thank you Siddharth. I can't get it to work.
    – Marge
    Jun 18 '19 at 10:42
  • I used File Properties to update the column in LibraryA. The column doesn't get updated. I appreciate your time.
    – Marge
    Jun 18 '19 at 10:53
  • any error in file properties action ? Jun 18 '19 at 11:10
  • I tried, it is working...please see updated answer. Jun 18 '19 at 11:25
  • Thanks for the graphics, that is helpfull. Myfolder is an excisting folder. To create the folder I have the Flow create a text file: /projectdocumenten/newfolder/empty.text. I know found out that the folder name is not: /projectdocumenten/newfolder but /projectdocumenten/newfolder/empty.text
    – Marge
    Jun 18 '19 at 14:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.