Skip to main content

Notifications

Announcements

No record found.

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

  • ElieAJ Profile Picture
    ElieAJ 40 on at
    RE: Time Off entity

    what would be the end date field name??

  • Suggested answer
    Paul_Owen Profile Picture
    Paul_Owen 2,027 on at
    RE: Time Off entity

    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
    ElieAJ 40 on at
    RE: Time Off entity

    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
    Paul_Owen 2,027 on at
    RE: Time Off entity

    That looks like Bookable Resource maybe?

    Regards

    Paul

  • ElieAJ Profile Picture
    ElieAJ 40 on at
    RE: Time Off entity

    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

  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: Time Off entity

    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,431 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans