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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Creating an Asana task...
Power Automate
Unanswered

Creating an Asana task after another task is completed

(0) ShareShare
ReportReport
Posted on by 25

Hi,

 

I'm trying to create a workflow for a work request integrating SharePoint and Asana.

I wish that for a selected document from the SharePoint the workflow will trigger the creation of an Asana task (let's call it task #1). Then I want the flow to wait until task #1 is marked completed and when it is, trigger the creation of another asana task (let's call it task #2). I've created the flow below, but obviously the flow doesn't wait on completion of task #1 and straight away created task #2. Is there any "while" loop solution that will pause the flow until completion state is changed from No to Yes?

 

Gaia_0-1636982093054.png

 

Categories:
I have the same question (0)
  • Gaia Profile Picture
    25 on at
    Re: Creating an Asana task after another task is completed

    Update:

    I tried with Do Until.

    The condition was : "do until completed (of task #1)is equal to Yes", but  it just immediately moved on to create task #2 because the loop has a limit of 60 runs. 

    Then I tried to add a scheduled delay within the Do Until, but the flow just waited for the delay to be over regardless of the state of task #1, and proceeded to creating task #2.

    Any ideas on how to make it actually work?🤔

  • v-chenzhi Profile Picture
    on at
    Re: Creating an Asana task after another task is completed

    Hi @Gaia ,

     

    Do you want to create the next task after one task is completed?

    I have a test for your reference, please the following workaround.

    vchenzhi_0-1637230509490.png

    When I mark the first task as completed, the second task will be created.

    vchenzhi_1-1637230509491.png

     

     

    Best Regards,

    Zhi Chen

  • Gaia Profile Picture
    25 on at
    Re: Creating an Asana task after another task is completed

    Thanks @v-chenzhi ,

    I tried your solution, it gets stuck in the "Do until" and doesn't create the second task immediately. It does open the second task when the flow is timed out . When you tested, did the second task appear in Asana immediately after completion of the first task?

    flowflowtesttest

  • Verified answer
    v-chenzhi Profile Picture
    on at
    Re: Creating an Asana task after another task is completed

    Hi @Gaia ,

     

    When I mark task1 as completed, it will immediately create task2 in Asana.

    Could you please check if your action has selected the correct dynamic content.

    vchenzhi_0-1637747126983.png

     

     

    Best Regards,

    Zhi Chen

     

     

  • Gaia Profile Picture
    25 on at
    Re: Creating an Asana task after another task is completed

    @v-chenzhi thanks, it did the trick! But now there's another problem: if the first task wasn't marked completed within a few minutes the whole flow times-out and the second task is opened anyway. 

    This happens because there's a counter limit of 60 "Do Until" runs before the flow times-out.

    To solve this issue I added a scheduled delay that delays the loop for 10 min and the loop overall runs for 4320 time (so the whole flow will only be timed out after 30 days):

    Screenshot 2021-11-24 165748.jpg

     

    Thanks for your help! 

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard