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 / Update task details wi...
Power Automate
Unanswered

Update task details with variable number of Aliases and resource links

(0) ShareShare
ReportReport
Posted on by 10

Hello, 

 

I have created a flow which takes info from a purchase request MS Form to a task on planner - these could vary from ordering one item to ordering 5 in one flow. 

 

I want to be able to attach links to these items in the planner tasks, see picture of currently Update Task Details set up. My issue is that if someone orders less than 5 items not all the links will exist and therefore the dynamic content in '1 Link to item', '2 link to item' etc will be blank. 

When I run the flow I then get this error: The 'inputs.parameters' of workflow operation 'Update_task_details' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'body/references/2/resourceLink' is required to be of type 'String/uri'. The runtime value '" "' to be converted doesn't have the expected format 'String/uri'.

 

 

I assume this is because the blank spaces do not fit the data type - is there a work around for this to be able to have a variable number of links?

 

Thanks in advance

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at
    Re: Update task details with variable number of Aliases and resource links

    Hi @elle_bop ,

     

    You could try:

     

    1\Create an array type variable to save the 5 resource links.

    2\Filter the array to get the items whose resource link not equals to null.

    3\Use the filter result as the References

     

    vbofengmsft_0-1660878073324.png

     

    Best Regards

    Bof

     

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