Skip to main content
Solved

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


Forum|alt.badge.img+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

 

Best answer by Shneor Cheshin

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!

View original
Did this topic help you find an answer to your question?

2 replies

Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • 1138 replies
  • Answer
  • November 7, 2021

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!


Forum|alt.badge.img+2
  • Author
  • Do Gooder
  • 2 replies
  • November 7, 2021

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings