web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Time Off entity

(0) ShareShare
ReportReport
Posted on by 40

Any idea what is the entity name of the below? 

pastedimage1584972246114v1.png

I want to create a workflow when time-off end date = today , then update Available field to 'Yes'

pastedimage1584972341508v2.png

  • LeoAlt Profile Picture
    16,341 Moderator on at

    Hi partner,

    Unfortunately there is no OOB way to get the time off of users.

    The only way provided by Microsoft is to use "QueryScheduleRequest" to retrieves the working hours of the current user.

    Please refer to this doc and download the samples for more information.

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/sample-query-working-hours-user

    I'm sorry that I haven't found a suitable method without coding yet.

    Regards,

    Leo

  • ElieAJ Profile Picture
    40 on at

    Thanks Leo.. 

    i tried it through flow, and managed to change the value to NO upon creating a calendar. However, inside the condition i'm not able to locate the END date to set it for today() upon. I would need that condition to check if the end date of the time-off is equal to today (the day the agent return), update the availability field to 'Yes'

    Your thoughts ! 

    pastedimage1585035221658v1.png

    pastedimage1585035276292v2.png

  • Suggested answer
    Paul_Owen Profile Picture
    2,027 on at

    That looks like Bookable Resource maybe?

    Regards

    Paul

  • ElieAJ Profile Picture
    40 on at

    Hi Paul,

    I added 'get record' for bookable resource. Do you think this is the field for end date?

    pastedimage1585040585054v1.png

    If yes how do we write equal to 'Today' so that i test it??

    Thanks Paul

    elie

  • Suggested answer
    Paul_Owen Profile Picture
    2,027 on at

    Hi Elie I don't think that's a date field? To check against todays date use tht ecpression UTCNow().

    Regards

    Paul

  • ElieAJ Profile Picture
    40 on at

    what would be the end date field name??

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 60 Most Valuable Professional

#2
11manish Profile Picture

11manish 23 Super User 2026 Season 2

#3
Travis South Profile Picture

Travis South 14

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans