Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

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
Community Support

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


Super User Program Update

Three Super User rank tiers have been launched!


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021


Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

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

Top Solution Authors
Users online (7,339)