cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Rich2
Resolver I
Resolver I

Converting a dynamic test column into a integer to increment to next highest number

I'm stumped. Can someone please help? This is the error I get when running the flow "The variable 'Compose' of type 'Integer' cannot be initialized or updated with value of type 'String'. The variable 'Compose' only supports values of types 'Integer'."
Capture1.PNG
This is the flow.
Capture.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
efialttes
Super User
Super User

@Rich2 
THe problem seems to be with 'Compose 2' action block.
In this post you will see how to add an expression from Dynamic content menu
Use expressions in flow actions | Blog de Power Automate (microsoft.com)

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

2 REPLIES 2
efialttes
Super User
Super User

@Rich2 
THe problem seems to be with 'Compose 2' action block.
In this post you will see how to add an expression from Dynamic content menu
Use expressions in flow actions | Blog de Power Automate (microsoft.com)

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Rich2
Resolver I
Resolver I

@efialttes Thanks that was very helpful. The Flow runs without error. Can you help with the last step of writing the compose value to the Permit Number column in the table? After reviewing the Flow I see the number in there.
Capture1.JPG
This is what I feed into the update a row.
Capture2.JPG
I appreciate your help.

 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (5,361)