Skip to main content

Notifications

Power Automate - Using Connectors
Answered

Asana Get project by ID doesn't work

(0) ShareShare
ReportReport
Posted on by

The Asana option of "Get Project by ID" serves no purpose since you apparently can't get the Project Info from any trigger except "When a Project is created".

I have a flow that triggers when a Task is created and I have to specify the project by name in the dropdown, but I can't then act on the the Project Name/ID using dynamic fields.

  • Verified answer
    JatinSanghvi Profile Picture
    JatinSanghvi on at
    Re: Asana Get project by ID doesn't work

    Since the project IDs, are not yet defined in the schema of the trigger response, you will need to parse the JSON response from trigger explicitly. Below I have copied screenshot of a Flow that enlists business phones of each user. You can build a similar Flow to suit your requirement.

    ParseJson.PNG

    1. Add a New Step -> Built-in -> Control -> Apply to each action. Set 'Select an output' field to 'data' for Asana.
    2. Within the 'Apply for each' action, add New -> Built-in -> Data Operations -> Parse JSON action.
    3. Set the 'Content' field to 'Current Item'.
    4. For 'Schema', click 'Generate from sample', use one of the child items within 'data' array' of the trigger response that you posted above. Once the schema is auto-generated, you can remove properties from the schema definition that you are not going to use.
    5. Add another 'Apply for each' action within the first 'Apply for each' action. This time select 'projects'  of 'Select an output' field.
    6. Within the inner loop, you will be able to fetch the individual project properties and operate on them.

    Let me know if this works.

  • Re: Asana Get project by ID doesn't work

    I have the trigger "When a task is created" that seems to provide all of the necessary data, but Flow isn't seeing that data as available.

    There is other information I would like to use from this that is clearly available and simply not mapped.

    2019-11-13 10_08_51-Run History _ Power Automate.png

  • Re: Asana Get project by ID doesn't work

    Hi @Anonymous ,

     

    The Project ID column in the "Get Project by ID" action require a Project ID, and we could get the Project ID from the trigger "When a Project is created".

    we could only enter the correct Project ID in the Project ID column in the "Get Project by ID" action.

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,304

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard

Featured topics