MS Flow - Sharepoint Doc Library - if approver edits document

%3CLINGO-SUB%20id%3D%22lingo-sub-870388%22%20slang%3D%22en-US%22%3EMS%20Flow%20-%20Sharepoint%20Doc%20Library%20-%20if%20approver%20edits%20document%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-870388%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20MS%20flow%20approval%20flow%20set%20up%20working%20fine%20if%20a%20document%20is%20approved%20and%20also%20if%20its%20rejected.%20However%2C%20if%20the%20approver%20receives%20the%20approve%2Freject%20email%20and%20then%20opens%20word%20and%20makes%20changes%20or%20comments%20within%20document%20and%20saves%2C%20the%20document%20then%20saves%20in%20draft%20status%20back%20to%20sharepoint.%20If%20the%20approver%20then%20clicks%20reject%2C%20flow%20will%20give%20an%20error%20as%20its%20draft%20status%20not%20pending%20status.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20can%20I%20add%20to%20the%20current%20flow%20to%20address%20this%20please%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-870388%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-871260%22%20slang%3D%22en-US%22%3ERe%3A%20MS%20Flow%20-%20Sharepoint%20Doc%20Library%20-%20if%20approver%20edits%20document%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-871260%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%2F368180%22%20target%3D%22_blank%22%3E%40andreaburgess1976%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20can%20show%20your%20flow%2C%20we'll%20have%20a%20look!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%3C%2FP%3E%3CP%3EDamien%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-871629%22%20slang%3D%22en-US%22%3ERe%3A%20MS%20Flow%20-%20Sharepoint%20Doc%20Library%20-%20if%20approver%20edits%20document%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-871629%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F89704%22%20target%3D%22_blank%22%3E%40Damien%20Rosario%3C%2FA%3E%26nbsp%3Bapologies%20%3A)%3C%2Fimg%3E%20hope%20you%20can%20see%20these%20ok%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%2F133262iD40331F0B9EB826D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%221.png%22%20title%3D%221.png%22%20%2F%3E%3C%2FSPAN%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%2F133263iB2F62FA00DE68F42%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%222.png%22%20title%3D%222.png%22%20%2F%3E%3C%2FSPAN%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%2F133264i00BDB1B02C02A0AE%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%223.png%22%20title%3D%223.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-873536%22%20slang%3D%22en-US%22%3ERe%3A%20MS%20Flow%20-%20Sharepoint%20Doc%20Library%20-%20if%20approver%20edits%20document%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-873536%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%2F368180%22%20target%3D%22_blank%22%3E%40andreaburgess1976%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20suspect%20you%20might%20need%20to%20retrieve%20the%20file%20properties%20first%20and%20then%20apply%20that%20to%20set%20content%20approval%20status%20as%20the%20status%20has%20changed%20since%20the%20start%20of%20the%20flow.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGive%20it%20a%20go%20and%20let%20me%20know%20if%20that%20solves%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%3C%2FP%3E%3CP%3EDamien%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

I have a MS flow approval flow set up working fine if a document is approved and also if its rejected. However, if the approver receives the approve/reject email and then opens word and makes changes or comments within document and saves, the document then saves in draft status back to sharepoint. If the approver then clicks reject, flow will give an error as its draft status not pending status.

 

What can I add to the current flow to address this please?

3 Replies

HI @andreaburgess1976 

 

If you can show your flow, we'll have a look!

 

Cheers

Damien

@Damien Rosario apologies :) hope you can see these ok

 

1.png2.png3.png

Hi @andreaburgess1976 

 

I suspect you might need to retrieve the file properties first and then apply that to set content approval status as the status has changed since the start of the flow.

 

Give it a go and let me know if that solves it?

 

Cheers

Damien