cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

PLEASE HELP.....Deadline Logic Apps and Length

Hi

I am trying to do the following: (please see attachment). All I want to do is say

If the Length of the externalCode item of each array item is greater than 4 then proceed to Append to the array.....

 

Here is my length statement

length(body('Parse_Json_2')?['externalCode'])
 
After spending hours on this, it still doesn't work; this should be easy. Please tell me what I am doing wrong?
Thanks so much!
Mike Kiser

 

length.jpg

1 REPLY 1
Dual Super User II
Dual Super User II

Hi @mikekiser 

 

Looks like you are using the filter array action to check the length. You might want to replace it with a condition action and use the same expression. In the yes branch place the append to array variable action. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (29,350)