Would love the ability to "pretty print" seconds for messages

Well, so far this is a few hours of work, and a reasonable POC starting point. There is no reason it couldn't return other types of values, again using Set Variable as the mechanism to do so. I'll look into that. Integer and Decimal values would be easy. You can pass any type as the param, so we're only talking about the Return String action, like adding Return Integer and Return Decimal. I'm not sure returning Boolean matters and not sure at all about DateTime.

What types would you want to return?

1 Like

I mostly care about number types, less so about decimal. I agree that Boolean probably doesn’t make sense. I confess that I’ve never used datetime, and I don’t know whether it would be important to others.

Int, Decimal, and Boolean would be useful to me (in addition to String)

Thanks!

I am in love with this idea.
I have numerous rules that have output from numerous formats, the common denominator is that i want them to output to a human form, a string.
If i understand what the output request is.
Notify
Speak
Print?

The Rule Functions feature has been released to beta in release 2.4.0.130. See this post for how to join the beta program.

3 Likes