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

Notifications

Announcements

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:
I have the same question (0)
  • 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard