Hi there,
I did some research and could not find if passing a variable from 1 flow execution to the next is doable.
Let me explain what I'd like to do:
My flow is triggered by a scheduler, every 5 mn.
First execution, Flow runs a query on an API which return an integer (say 'nbhits'), and store 'nbhits' in a variable say nbhits_var.
Second execution 5mn later, Flow runs the same query on the API and obtain nbhits, compare nbhits with nbhits_var. If nbhits>nbhits_var then send notification.
Is this feasible in Flow, or do I need to store the variable somewhere else e.g. an external database?
My preference would be NOT to store the variable elsewhere.
Many thanks
Alex
Solved! Go to Solution.
Hi @Anonymous,
I'm afraid that the second run of a flow cannot store the data from previous run. You need to store the variable to other available data sources.
You could post this idea in the Flow Ideas forum, so it might be considered for future releases.
https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas
Regards,
Mona Li
Hi @Anonymous,
I'm afraid that the second run of a flow cannot store the data from previous run. You need to store the variable to other available data sources.
You could post this idea in the Flow Ideas forum, so it might be considered for future releases.
https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas
Regards,
Mona Li
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
User | Count |
---|---|
32 | |
32 | |
24 | |
23 | |
20 |
User | Count |
---|---|
60 | |
57 | |
41 | |
37 | |
28 |