cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Wicky1
Regular Visitor

Is it possible to call an action like a function?

Hi,all

 

In my msflow I created an action Increment variable to increase index in it 

 

ex. default index is 0 and when I call  action Increment variable like actions('Increment_variable') the index in this action will be 1 and when I call actions('Increment_variable') again the index will be 2

 

Is it possible to be like my example

 

Thank for the advise.

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @Wicky1,

 

There is no such feature that could do it like a global variable, but you could store the index in an Excel table or SharePoint list.

After the action run, get the value from Excel table or SharePoint item, add 1, then update the Excel table or SharePoint list.

 

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

View solution in original post

1 REPLY 1
v-litu-msft
Community Support
Community Support

Hi @Wicky1,

 

There is no such feature that could do it like a global variable, but you could store the index in an Excel table or SharePoint list.

After the action run, get the value from Excel table or SharePoint item, add 1, then update the Excel table or SharePoint list.

 

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

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,865)