Refresh SharePoint Items in an Approval Flow

%3CLINGO-SUB%20id%3D%22lingo-sub-239368%22%20slang%3D%22en-US%22%3ERefresh%20SharePoint%20Items%20in%20an%20Approval%20Flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-239368%22%20slang%3D%22en-US%22%3E%3CP%3EDoes%20anybody%20know%20how%20Flow%20works%20with%20SharePoint%20items%20within%20approval.%20So%20do%20you%20have%20to%20get%20the%20item%20each%20time%20you%20update%20it%20to%20get%20the%20latest%20changes%20during%20an%20Approval%20Flow%3F%20I%20ask%20because%20the%20approval%20could%20take%2030%20days%20to%20complete!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-239368%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-239654%22%20slang%3D%22en-US%22%3ERe%3A%20Refresh%20SharePoint%20Items%20in%20an%20Approval%20Flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-239654%22%20slang%3D%22en-US%22%3EThis%20asynchronous%20Flow%20model%20might%20help%20you%20%3CA%20href%3D%22http%3A%2F%2Fjohnliu.net%2Fblog%2F2018%2F3%2Fdesign-a-delay-until-sharepoint-file-changed-httpwebhook-for-microsoftflow%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fjohnliu.net%2Fblog%2F2018%2F3%2Fdesign-a-delay-until-sharepoint-file-changed-httpwebhook-for-microsoftflow%3C%2FA%3E%3CBR%20%2F%3EIt%20has%20a%20parent%20Flow%20that%20could%20start%20an%20approval%20and%20branchedd%20sub-Flows%20to%20check%20for%20file%20changes%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-239516%22%20slang%3D%22en-US%22%3ERe%3A%20Refresh%20SharePoint%20Items%20in%20an%20Approval%20Flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-239516%22%20slang%3D%22en-US%22%3E%3CP%3EYes%2C%20it%20will%20get%20the%20list%20item%20and%20effectively%20store%20it%20as%20an%20object%20within%20the%20context%20of%20the%20Flow.%20You%20can%20test%20this%20by%20creating%20an%20item%20and%20running%20Flow%20in%20test%20mode%2C%20then%20going%20and%20making%20a%20subsequent%20update%20to%20the%20list%20item.%20You%20won't%20see%20any%20real-time%20changes%2C%20unless%20you%20do%20a%20Get%20Item%20again.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Does anybody know how Flow works with SharePoint items within approval. So do you have to get the item each time you update it to get the latest changes during an Approval Flow? I ask because the approval could take 30 days to complete!

2 Replies

Yes, it will get the list item and effectively store it as an object within the context of the Flow. You can test this by creating an item and running Flow in test mode, then going and making a subsequent update to the list item. You won't see any real-time changes, unless you do a Get Item again.

This asynchronous Flow model might help you http://johnliu.net/blog/2018/3/design-a-delay-until-sharepoint-file-changed-httpwebhook-for-microsof...
It has a parent Flow that could start an approval and branchedd sub-Flows to check for file changes