Flow_1khppaq Flow_1khppaq Flow_1if3wm0 start_time = round(time.time() * 1000) Flow_1if3wm0 Flow_116lqvv "PT40S" Flow_116lqvv Flow_1gbrmax end_time = round(time.time() * 1000) duration = round((end_time-start_time)/1000) #if the duration is between 40-46 set it as 40 if duration >= 40 and duration < 46: duration = 40 Duration: {{duration}} seconds Flow_1gbrmax