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.

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (1,527)