web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Forms to Planner flow ...
Power Automate
Unanswered

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

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 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard