Time variable in Flow Designer - no days ?!

Julian Poyntz
Tera Contributor

Looking to rework an old Workflow Activity, and I have a timeout feature where I can choose how long to timeout

JulianPoyntz_0-1721311322523.png

I can choose days, or I can set the hours to be a huge figure.

What variable type do I use in flow ?

In my subflow, I can only seem to get hours / mins / secs regardless of what type I use - indeed, some move to calendar (not what I want)

JulianPoyntz_1-1721311392328.png

and I cannot put a value greater than 23 into hours.

I don't care if I cannot get "days" to appear if I can add figures like 168 to the hours to represent a week

 

 

4 REPLIES 4

Sumanth16
Kilo Patron

Hi @Julian Poyntz ,

 

Please refer to below thread:

https://www.servicenow.com/community/itsm-forum/flow-designer-action-to-add-number-of-days-integer-t...

 

Mark if it is helpful or correct, feedback is appreciated

 

Thanks & Regards,

Sumanth meda

Not really.  I can deal with the calculations, but I cannot believe that something as simple as a time is limited to just hh:mm:ss

I want to know what variable in a Flow, I can use that will show me dd:hh:mm:ss, as the old Workflow Activity had (see the first image)

For now, I have added an integer field for the days and then a basic time for the hh:mm:ss.

But that is just poor..

 

I'll even stick to HH:MM:SS if I can add a number such as 168 to the hours.

SN_Learn
Kilo Patron
Kilo Patron

Hi @Julian Poyntz ,

 

Please check the below, might help

Handling errors and planned process time-out in Flow Designer 

 

Mark this as Helpful / Accept the Solution if this helps

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.

Nope 😞

As I have explained to the previous respondent (all responses are welcome).

My issue is NOTHING to do with coding.  It is to do with having a VARIABLE show me  dd:hh:mm:ss as it it used to do in a Workflow activity (see the firs image in my post), but I cannot see how to use any of the time type variables in a subflow to show the same.  All I can get is hh:mm:ss, and that hh is limited to 23

I have tried them all, checked to see if there are options, but no, nothing.

 

I have a workaround, but it is, a clunky workaround.