Solved

FSM: What is the format/example of "to minutes" operator

  • 6 November 2021
  • 2 replies
  • 75 views

Badge +2

The online documentation indicates business rule operators:

to days, to hours, to minutes, to seconds

Convert to days, convert to hours, convert to minutes, convert to seconds

But there is no example as to how this is actually implemented.  to_minutes() does not work.

I am trying to calculate the duration (time difference) between two dates in a business rule.

Thanks in advance

Ben

 

icon

Best answer by Shneor Cheshin 7 November 2021, 23:55

View original

2 replies

Userlevel 6
Badge +26

Hi @USYBENA 

Do you wish to build a business rule?

You can write something like this:

 

In the following Example, I am showing a pop up of time differences as configured in the BR above. This is just for demo, not really useful in real life :)

 

 

In the same way, To Hours will give you the following result

 

Cheers!

Badge +2

Thanks - you are a star.  Could you get them to add something to the documentation?

Reply