Power Automate updating multi line field with more than 255 characters
Power Automate flow succeeded despite failure to update multi line text field within a SharePoint Library
Updating multi-line text fields in a SharePoint Library from Power Automate flows, especially when the content exceeds 255 characters might fail if the field is not updated to allow unlimited length. This can cause workflows to fail silently.
In a recent scenario, an action was added to a Power Automate flow to update a SharePoint Library’s multi-line text field named ‘ErrorLog’ with error details captured during the flow’s execution. Despite the flow’s apparent success, the ‘ErrorLog’ field remained unchanged.
The SharePoint update action’s run log revealed the underlying issue:
“This field can have no more than 255 characters.”
The Solution
The key to resolving this issue lies in adjusting the field settings in SharePoint to allow for unlimited text length in multi-line text fields.
Steps to Allow Unlimited Length:
- Navigate to the SharePoint list or library settings.
- Click on the multi-line text field you wish to modify (e.g., ‘ErrorLog’).
- In the field settings, find the option labeled “Allow unlimited length in document libraries” and enable it.
This change effectively removes the 255 character limit, allowing Power Automate to update the field with more than 255 characters.
Conclusion
The default 255-character limit in SharePoint’s multi-line text fields can cause issues from Power Automate flows. However, by adjusting the field settings to allow for unlimited text length can resolve the issue