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

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Actual Hours Issue

Avatar

Level 2

I'm trying to pull hours & minutes between actual start and actual completion on an issue. I see a field for "Actual Hours", but it pulls all zeros. Is there a code to pull hours/minutes between start/end? I've tried

 

displayname=Act Time Taken
linkedname=direct
textmode=true
valueexpression=WORKHOURSDIFF({actualStartDate},{actualCompletionDate})
valueformat=HTML

 

also w/

valueexpression=WEEKDAYDIFF({actualStartDate},{actualCompletionDate})

 

 

Thanks,

Vin

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 2

Thank you Richard! I think this will work. I noticed some issues returned 0 because the start/end time was outside working hours (since it can be a user globally).So going to see how to calculate those without capturing full 24 hours for other issues.

원본 게시물의 솔루션 보기

3 답변 개

Avatar

Community Advisor

Hi Vin,

 

Try WORKMINUTESDIFF instead, then divide by 60 to get the number of hours. The below textmode should do it

 

valueexpression=ROUND(DIV(WORKMINUTESDIFF({actualCompletionDate},{actualStartDate}),60),2)

Best Regards,

Rich. 

Avatar

정확한 답변 작성자:
Level 2

Thank you Richard! I think this will work. I noticed some issues returned 0 because the start/end time was outside working hours (since it can be a user globally).So going to see how to calculate those without capturing full 24 hours for other issues.

Avatar

Community Advisor

No problem Vin. If this solved your problem, please mark it as a Correct Answer so that others know that the solution works.