How to get call duration to the workflow conditions?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Russ
    Senior Member
    • Feb 2022
    • 426

    How to get call duration to the workflow conditions?

    Hi, can't get a call duration, if someone faced the same issue, please share your solution
    thanks
  • victor
    Active Community Member
    • Aug 2022
    • 731

    #2
    Hi Russ,

    The duration field is not available in the workflow conditions, but it is available in the Administration > Entity Manager > Call > Formula.
    For example, when duration is greater than or equal to 1 (one second, since duration is measured in seconds), then the description field will have the value test.
    Code:
    ifThen(duration >= '1',
           description = 'test'
           );​

    Comment

    • rabii
      Active Community Member
      • Jun 2016
      • 1250

      #3
      Originally posted by Russ
      Hi, can't get a call duration, if someone faced the same issue, please share your solution
      thanks
      you can instead use (Formula (Conditions of any complexity in espo-formula language)) and it should be available to you. see attached screenshot.
      Attached Files
      Rabii
      Web Dev

      Comment

      • Russ
        Senior Member
        • Feb 2022
        • 426

        #4
        Thanks!

        Comment

        Working...