cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper III
Helper III

Changing an action's value in a running Flow from another Flow

I have a Flow that allows the approval and decommissioning of list items to be scheduled. There exists a column for "published from" and "published until". In the Flow I use the Delay action to delay each before I use the "Set content approval status" action to publish or decommission a list item.

 

Now, let's assume a date is set for "published from" and "published until". That works just fine. What it does though is keep the Flow in a running state until first, the "published from" and secondly the "published until" date is reached. So far so good, no problem.

 

Unless, another edit is made to the list item while the initial Flow has been running.

If that happens, for example if the "published until" date had to be amended, e.g. set for a date further in the future as the initial one, a new Flow instance for that list item is created.

 

What now happens is that due to the fact that the initial Flow is kept running, the list item will still be decommissioned as soon as its "published until" date is met and not on the actual date from the most recent list item edit.

 

So I thought, if there were an action to cancel a Flow from another Flow I would have a solution. Unfortunately, this is still not the case as far as I'm aware of. Next, I thought if there were the possibility to change the value of the Delay action in the initial Flow from the second Flow instance that contains the desired "published until" date, that could also work. But I have not found a way to do this.

 

The actual Flow contains way to many actions to be able to post it here so I tried to describe it as best as I can.

 

Does anybody have an idea how to solve that problem or approach it with a different logic?

 

Thanks for your help.

 

1 REPLY 1
Helper III
Helper III

Is anyone aware if such a thing could be achieved with Logic Apps?

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (26,138)