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 / Forms to Planner flow ...
Power Automate
Answered

Forms to Planner flow - user submits checklist text that is too long

(0) ShareShare
ReportReport
Posted on by 8

I built a Power Automate flow from a Form to Planner. The Form is for employees at my company to fill in and I ran into this issue: 

 

1. You cannot limit the free text fields on MS Forms to a custom character limit so sometimes people submit things that are too long

2. Checklists in Planner have a 100 character limit 

3. If the user submits something longer than that in the Form it breaks the flow and the Planner card is empty 

 

My question is, can I write a condition to say "if the characters entered is greater than 100 display N/A"?

 

the error if the characters submitted exceeds 100the error if the characters submitted exceeds 100

 

 

Categories:
I have the same question (0)
  • Verified answer
    jatcube Profile Picture
    508 on at

    @annie2 you can definitely write a condition and check the length of the submitted text with the below and return any value you'd like

     

    length('your string')

     

    but it's probably better to add a condition to return the first 100 characters with the substring expression if the length of the input exceeds 100 characters.

     

    substring(text: string, startIndex: integer, length?: integer)

     

     here's an example of how you can do it.Screen Shot 2022-09-07 at 19.57.12.png

    obviously replace the 'outputs('Compose_2')' with your control.

    realised I didn't include the code I used in the yes branch

    substring(outputs('Compose_2'),0,100)

     

    If you found this response useful, give it a thumbs up and don’t forget to mark your post answered to help others find the solution easier.

  • annie2 Profile Picture
    8 on at

    I didn't do this exactly but I did use the substring function to shorten the checklist item and that worked, thank you!

  • jatcube Profile Picture
    508 on at

    @annie2 that's great. the only reason I was suggesting checking the length is because the flow will throw an error if the string is less than the length you specify in the substring

  • annie2 Profile Picture
    8 on at

    Ahhh yes I see that now - is there any way to make it <= a certain amount of characters? 

  • jatcube Profile Picture
    508 on at

    yes, with the condition I posted above. use length('your string input') greater than or equal to/less than or equal to. then do the action on the yes/no branch. it's up to you how you construct the logic. hope this helps.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard