Reputation: 41
Is there any way to Get https request duration time in the azure logic app
Upvotes: 0
Views: 178
Reputation: 15754
I don't think we can get the execution time of one action directly in a variable. For a workaround, we can just get the duration time by the solution below:
The first expression is:
int(ticks(utcNow()))
And the second expression is:
sub(int(ticks(utcNow())),variables('currentTime'))
After running it, we can get the duration time(the unit of time is "ns"):
By the way, we can also see the actions' duration time from monitor. You can refer to this tutorial (just provided for your reference)
Upvotes: 1