Expand my Community achievements bar.

Automate Out of Office Message from PTO Calendar in Workfront

Avatar

Level 1

Hi, 

 

We would like to build an automation so that each time a request is submitted to a user, the automation will see if the user is available to work on the request or not by looking at the PTO Calendar in Workfront. 

 

Then we'll send a comment to the requestor saying that the user is OOO. I have been looking at the fields and modules inside Fusion but could not find a field that will help us to achieve this. 

 

Has anyone done this before and can you help to advise me how can I construct this automation? Thanks in advance!

Topics

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

4 Replies

Avatar

Level 6

HI @ArtieBertie 

you can see if the MiscAction module might help: It has the action "getUsersAvailableTime"

 

 

SveniX_0-1733342672586.png

 

Avatar

Level 6

Hi @ArtieBertie 

this is probably better for your usecase: Do a search for "timeOff" for the user and today's date. 
If there are no results, the user is available. If there's ANY result - the user has the day blocked

You may need to test with partial (eg half-day) time off records.

SveniX_0-1733343228712.png

 

Avatar

Level 1

Hi @Sven-iX , 

 

Thank you for providing the recommendation. I understand the return of found result means the user is available and otherwise, they are not available. However, is there a way for Fusion to know when will the user be available or back in office so that we can put that in the OOO message?

Avatar

Level 6

Hi @ArtieBertie 
Not sure I understand. In Fusion you get the event that a new request was created. You then check the selected resource's availability and create an update on the request that tags the person who created the request. 

Using one of the approaches I mentioned you can also determine when the user is available again and include that in the tagged update.

It requires some work, there's no simple "tell me if the user is unavailable and when he's next available" module.