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

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:
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    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

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 Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard