Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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

 

 

  • jatcube Profile Picture
    508 on at
    Re: Forms to Planner flow - user submits checklist text that is too long

    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.

  • annie2 Profile Picture
    8 on at
    Re: Forms to Planner flow - user submits checklist text that is too long

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

  • jatcube Profile Picture
    508 on at
    Re: Forms to Planner flow - user submits checklist text that is too long

    @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
    Re: Forms to Planner flow - user submits checklist text that is too long

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

  • Verified answer
    jatcube Profile Picture
    508 on at
    Re: Forms to Planner flow - user submits checklist text that is too long

    @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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,635 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow