Expand my Community achievements bar.

Interested in getting an Adobe Workfront certification? Don't miss our AMA on June 10th, where our experts will be available to answer any questions you may have about getting certified!
SOLVED

What is developer object currentStatusDuration?

Avatar

Level 2

I am trying to locate where the Issue system update date is stored and stumbled upon the currentStatusDuration field on the developer Objects pages. Does anyone know what this does? I could not find anything about it during searches. Thanks!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 3

Hi @KristinaN 

 

it is the time in hours for which the objects has had its current status. It is reset every time the status changes.

 

ex. after 2min in a status it's currentStatusDuration=0.03333333333333333

 

change status again and it resets to zero and starts counting again. 

 

Nice find! 

View solution in original post

3 Replies

Avatar

Correct answer by
Level 3

Hi @KristinaN 

 

it is the time in hours for which the objects has had its current status. It is reset every time the status changes.

 

ex. after 2min in a status it's currentStatusDuration=0.03333333333333333

 

change status again and it resets to zero and starts counting again. 

 

Nice find! 

Avatar

Level 2

Thank you so much, I am having trouble calling this in text mode. Could you see what I might be missing? Thank you for your swift response!

 

displayname=Current Status Duration
textmode=true
valueexpression=currentStatusDuration
valueformat=double

Avatar

Level 3

Hi @KristinaN 

 

try this. 

  • if you use valueexpression, every fields must be wrapped in curly quotes {}
  • You could also use valuefield=currentStatusDuration
  • I added rounding to 2 decimals 
  • If you're doing valueexpression, "string" seems to always work as valueformat - since you're composing an output  
displayname=Current Status Duration
textmode=true
valueexpression=round({currentStatusDuration},2)+" hrs"
valueformat=string