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 / Converting Number to T...
Power Automate
Unanswered

Converting Number to Text within flow

(0) ShareShare
ReportReport
Posted on by 76

Simple issue that I am stuck on.  I have a flow that populates a field in a SharePoint doc library with the next revision [New Rev] of a SharePoint file based on the current rev number [Eff Rev].

JT1964_0-1687465031603.png

This works great when New Rev is a number. If the flow initiator intends for the file to be cancelled they can provide this as an input when the flow is initiated by assigning Yes to 'Cancel1'.

JT1964_1-1687465478930.png

 

I want the rev to now change from a number to text and equal "Cancel" and as expected, I get an error when I make this change.

 

Is there a way to re-establish 'New Rev' as text within the flow at a step just before updating properties

JT1964_2-1687465551514.png

Thanks!

 

Categories:
I have the same question (0)
  • Verified answer
    wskinnermctc Profile Picture
    6,519 Moderator on at

    Is the "New Rev" and "Eff Rev" properties from the document? Or is it from a column in the Document Library? 

     

    Either way, you need to go check if it is a Text or Number type. If it is a Number, then you will not be able to put any text in the field.

     

    Here is an example of the properties in a document, and you can see there are different types like Text and Number.

    wskinnermctc_0-1687472244945.png

     

    Or you can go to the Document Library settings and look at the column types there.

    wskinnermctc_1-1687472475618.png

     

    If those columns are Number type then you will not be able to put "Cancel" into the field.

     

    Maybe you could try putting in 99999 or something if that helps signal the file is cancelled. Or you can move the file into a different folder that is for cancelled documents.

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard