aharissa
aharissa

Reputation: 41

How Can I Get Api Excution Time in Azure Logic App

Is there any way to Get https request duration time in the azure logic app

Upvotes: 0

Views: 178

Answers (1)

Hury Shen
Hury Shen

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: enter image description here

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"): enter image description here

By the way, we can also see the actions' duration time from monitor. You can refer to this tutorial (just provided for your reference) enter image description here

Upvotes: 1

Related Questions