web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / delay until other comm...
Power Apps
Unanswered

delay until other command end

(0) ShareShare
ReportReport
Posted on by 140

in the following general command in power apps I want to execute  command2 at the end of command2, because command 1 takes time:

if(condition ,command1 ;comm1nd2

                        ,command 3)

Categories:
  • NPPlatform Profile Picture
    606 Moderator on at

    What is your question exactly? Do you want to check the condition and if its true, first execute command1 and only start executing command2 after command1 has finished? Then your formula is right. The ; between formula's indicates that the first command has to be finished before the second command starts. Thus it would be:

    If(condition,command1;command2,command3)

    If you want command 1 and 2 to be done simultaneously to have everything finished earlier it would be:

    If(condition,Concurrent(command1,command2),command3)
  • Hanan-khamissy Profile Picture
    140 on at
    From the structure of the command you provided, I know it's correct. The issue is that Command 1 takes time to complete (copying a row from one list to another), and then the second action is to delete that row. I'm encountering a situation where it deletes it before the copy is completed. Therefore, I want to delete only after the copy is finished.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard