내 커뮤니티 업적 표시줄을 확대합니다.

Don’t miss the Workfront AMA: System Smarts & Strategic Starts! Ask your questions about keeping Workfront running smoothly, planning enhancements, reporting, or adoption, and get practical insights from Adobe experts.
해결됨

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!

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
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! 

원본 게시물의 솔루션 보기

3 답변 개

Avatar

정확한 답변 작성자:
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