Dear all
i need to know how i can determine if a workflow is running or not and in case if off turn it on
i found tun workflow on and turn workflow off but not hte way to say if workflow is running (or the status)
Best regards
Marco
Solved! Go to Solution.
Hi @dibia,
Since the format of the Date within SharePoint is different from UtcNow(). So you need to convert the format of UtcNow(), just like this:
formatDateTime(utcNow(),'yyyy-MM-ddTHH:mm:ssZ')
Please have a try, hopes it can help you.
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.
Marco,
You can test your App, and when the App is running it will give a green check mark when it is working. If you are testing it and it is just circling, then you likely have a trigger error. What are you seeing?
You can check the status of the flow:-> when you click on the flow (from all flows)-> you will see the run history here. In the run history you can check the Succesful, Failed, Cancelled and Running flow statuses.
If you can share more details on what it is that you are looiking for, we can better assist you.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hi all and thanks for reply...
I want to explain all better
I have a task that run every hour and it check on sharepoint list a value of field
I need to stop the flow at given time, and start at given time...
my idea is..
I created a sharepoint list with time interval to turn it off, I created another flow taht every hour i check this list and if "now" is between the interval in the list i have to turn off the first flow off
the problem is: if flow is off and I send command "turn it off "nothing of bad, but if flow is runinng and i turn on again i loose the cadenza...
I need to know if first flow is running so in case i do not nothing...
Hi @dibia,
You could add Turn off Flow action at the end of first flow as soon as the first flow completes the run.
Then you can create an action in your current flow to get the state of the first flow:
-If State is Started means the first flow is running.
-If not, it means the first flow has completed run.
Please have a try, hopes it can help you.
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.
thanks lin tu
you save my life 😉
more or less seems ok.. i have only a problem on first condition, seems that there's an error..
where date time is two field in a sharepoint list
Seems that greater than worn but less than no.. any idea...?
i have to know if Now is between two datetime ...
doesn't work
thanks again
Marco
Hi @dibia,
Since the format of the Date within SharePoint is different from UtcNow(). So you need to convert the format of UtcNow(), just like this:
formatDateTime(utcNow(),'yyyy-MM-ddTHH:mm:ssZ')
Please have a try, hopes it can help you.
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.
perfect now is ok!
thank you very much 😉
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
17 | |
14 | |
7 | |
6 | |
5 |
User | Count |
---|---|
24 | |
18 | |
10 | |
8 | |
7 |