PowerAutomate: Get Changes for an item or a file (Properties Only)

%3CLINGO-SUB%20id%3D%22lingo-sub-1562172%22%20slang%3D%22en-US%22%3EPowerAutomate%3A%20Get%20Changes%20for%20an%20item%20or%20a%20file%20(Properties%20Only)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1562172%22%20slang%3D%22en-US%22%3E%3CP%3EHello.%3CBR%20%2F%3EI%20am%20trying%20to%20use%20new%20action%20control%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Freenit_0-1596437246029.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F209902iFAC53A95D18BAFBD%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Freenit_0-1596437246029.png%22%20alt%3D%22Freenit_0-1596437246029.png%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3EBut%20when%20I%20check%20if%20one%20of%20the%20properties%20is%20changed%20or%20not%20the%20result%20is%20always%20%3CSTRONG%3Etrue%3C%2FSTRONG%3E%20even%20when%20I%20don't%20change%20it.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Freenit_2-1596437590095.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F209905i9009338AF4BA89B8%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Freenit_2-1596437590095.png%22%20alt%3D%22Freenit_2-1596437590095.png%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Freenit_3-1596437643070.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F209906i21FB76FDF56BE18B%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Freenit_3-1596437643070.png%22%20alt%3D%22Freenit_3-1596437643070.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%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%20image-alt%3D%22Freenit_1-1596437339636.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F209903i028E5A7E79442C1C%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Freenit_1-1596437339636.png%22%20alt%3D%22Freenit_1-1596437339636.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ECould%20someone%20recommend%20how%20to%20use%20correctly%20properties%20from%20this%20action%3F%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThanks%20in%20advance.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1562172%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-1869186%22%20slang%3D%22en-US%22%3ERe%3A%20PowerAutomate%3A%20Get%20Changes%20for%20an%20item%20or%20a%20file%20(Properties%20Only)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1869186%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F355141%22%20target%3D%22_blank%22%3E%40Freenit%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20been%20working%20on%20this%20all%20day%20and%20I%20have%20been%20getting%20the%20the%20same%20error%20message%3A%26nbsp%3B%22Specified%20Version%20Label%20does%20not%20correspond%20to%20any%20actual%20version%22.%26nbsp%3B%20On%20my%20list%20I%20had%20%22Require%20content%20approval%20for%20submitted%20items%3F%22%20as%20%3CSTRONG%3EYes%3C%2FSTRONG%3E%26nbsp%3Band%20on%20the%20flow%20I%20had%20%22Include%20minor%20version%22%20set%20to%20%3CSTRONG%3ENo%3C%2FSTRONG%3E.%26nbsp%3B%20%26nbsp%3BI%20changed%20it%20to%20%3CSTRONG%3EYes%3C%2FSTRONG%3E%20and%20it%20started%20working%20as%20expected.%26nbsp%3B%20Also%20on%20the%20flow%20if%20you%20want%20to%20check%20against%20just%20the%20previous%20version%20you%20can%20have%20the%20%22Since%22%20field%20set%20to%20an%20expression%20of%20'%3CSTRONG%3Esub(int(triggerOutputs()%3F%5B'body%2F%7BVersionNumber%7D'%5D)%2C1)%3C%2FSTRONG%3E'%20.%26nbsp%3B%20I%20do%20not%20know%20how%20to%20check%20from%20published%20version%20to%20published%20version.%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2191786%22%20slang%3D%22en-US%22%3ERe%3A%20PowerAutomate%3A%20Get%20Changes%20for%20an%20item%20or%20a%20file%20(Properties%20Only)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2191786%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F842765%22%20target%3D%22_blank%22%3E%40KevHouston740%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI'm%20not%20being%20able%20to%20find%20these%20two%20items%3A%3C%2FP%3E%3CP%3E%3CSPAN%3E%22Require%20content%20approval%20for%20submitted%20items%3F%22%20and%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%22Include%20minor%20version%22%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ECould%20you%20please%20share%20a%20screenshot%20or%20the%20path%20for%20getting%20in%20this%20page%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThank%20you!%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hello.
I am trying to use new action control:

Freenit_0-1596437246029.png
But when I check if one of the properties is changed or not the result is always true even when I don't change it.

Freenit_2-1596437590095.png

Freenit_3-1596437643070.png

 

 

Freenit_1-1596437339636.png

Could someone recommend how to use correctly properties from this action?


Thanks in advance.

 

3 Replies

@Freenit 

 

I have been working on this all day and I have been getting the the same error message: "Specified Version Label does not correspond to any actual version".  On my list I had "Require content approval for submitted items?" as Yes and on the flow I had "Include minor version" set to No.   I changed it to Yes and it started working as expected.  Also on the flow if you want to check against just the previous version you can have the "Since" field set to an expression of 'sub(int(triggerOutputs()?['body/{VersionNumber}']),1)' .  I do not know how to check from published version to published version.

 
 
 
 

 

 

@KevHouston740 

Hello,

I'm not being able to find these two items:

"Require content approval for submitted items?" and

"Include minor version" 

 

In the image attached, I have set both as 'yes' but i still get the same error.

 

Could you please share a screenshot or the path for getting in this page?

Thank you!

versioning.PNG

 

@Maria1204  The first setting is on the list:  List Settings > Versioning Settings.

 

The second setting is within MS Flow (Power Automate) 'Get Changes for an item or a file' and then Advanced settings : 

KevHouston740_1-1615212430186.png