Flow – Condition Start of week
-
Flow – Condition Start of week
Bonjour,
J’ai un flow codé comme ci dessous:
<div>
<div>{</div>
<div>”type”: “If”,</div>
<div>”expression”: {</div>
<div>”and”: [</div>
<div>{</div>
<div> “greaterOrEquals”: [</div>
<div> “@item()?[‘Created’]”,</div>
<div> “@startOfMonth(getPastTime(0,’MONTH’))”</div>
<div>]</div>
<div>}</div>
<div>]</div>
<div>},</div>
<div>”actions”: {</div>
<div>”Move_file”: {</div>
<div>”type”: “OpenApiConnection”,</div>
<div>”inputs”: {</div>
<div>”parameters”: {</div>
<div>”dataset”: “https://xxxxxxx.sharepoint.com/sites/xxx/xx/xx”,</div>
<div>”parameters/sourceFileId”: “@item()?[‘{Identifier}’]”,</div>
<div>”parameters/destinationDataset”: “https://xxxxxxxxx.sharepoint.com/sites/xxxxx/xxxx/xx”,</div>
<div>”parameters/destinationFolderPath”: “/Shared Documents/LTSD/Export LTSD Sophie/LTSD History”,</div>
<div>”parameters/nameConflictBehavior”: 1</div>
<div>},</div>
<div>”host”: {</div>
<div>”apiId”: “/providers/Microsoft.PowerApps/apis/shared_sharepointonline”,</div>
<div>”connection”: “shared_sharepointonline”,</div>
<div>”operationId”: “MoveFileAsync”</div>
<div>}</div>
<div>}</div>
<div>}</div>
<div>},</div>
<div>”else”: {</div>
<div>”actions”: {}</div>
<div>}</div>
<div>}</div>
<div> </div>
<div> </div>
<div>Or on me demande de garder désormais un historique en semaine, et je ne trouve pas de fonctions dans ma “condition task” pour mettre greater than startofweek.</div>
<div>Quelqu’un a un moyen de me contourner ça?</div>
<div>j’ai trouvé ça mais je ne comprends bien ce que ça fait:
https://community.powerplatform.com/forums/thread/details/?threadid=827ee16d-6bb5-4755-9d75-07d7042a153d</div>
</div>
Connectez-vous pour répondre.