Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Using SharePoint List Data as Variable

I am trying to move our existing SharePoint Designer Workflows to Microsoft Flow. We have a SPD Workflow that is used to increment and return a unique ID (counter) for different content types.


The workflow is follows the logic below:


  1. New Item in List A Startas the Workflow
  2. Workflow queries Counter field in List B, returns an int Variable
  3. Variable is incremented by 1 (Variable = Variable plus 1)
  4. List B is updated with new Variable
  5. String Variable is created to combine a three letter code with 6 digit number as string, (str Variable = "ABC" & "int Variable")
  6. str Variable is returned to List A as Unique ID.

The SPD workflow is shown below, please can sumbody point me to the equivallent expressions in Microsoft Flow.



Community Support Team
Community Support Team

Re: Using SharePoint List Data as Variable

Hi @Wade,


Please check and see if the following thread would help in yoru scenario:

Compose Action in lieu of Variables

Follow my response there.

If you have any further questions, please post back.





Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 355 members 5,868 guests
Please welcome our newest community members: