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

prevent editing of item if workflow running

I am trying to prevent users from editing items if the workflows are running.

 

I have 5 workflows that run after each change to the item.  I added a field called "Workflow Status" and set it to "Active" at the beginning of each workflow and "Inactive" at the bottom.

 

Any suggestions on how to do this?

 

Thanks

1 REPLY 1
Highlighted
Super User III
Super User III

Re: prevent editing of item if workflow running

Edited;

Your could use a pop up 

1. OnVisible Set a variable:

 UpdateContext( { active: false} ) 

2. Insert a rectangle (enlarge it to cover screen)

3. Set the visible of the rectangle to:

  active

4. On the button to start the flow: 

UpdateContext( { active: true } ) ;Yourflow();UpdateContext( {active: false} ) 

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

 

 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,108)