cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
colonel_claypoo
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
colonel_claypoo
Helper III
Helper III

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

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power Automate User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (57,483)