Skip to main content
Dez. 4, 2024 9:36 AM UTC
Frage

Automate Out of Office Message from PTO Calendar in Workfront

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!

Dieses Thema wurde für Antworten geschlossen.

4 Antworten

Sven-iX
Community Advisor
Community Advisor
Dez. 4, 2024 8:04 PM UTC

HI @artiebertie 

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

 

 

 

Übersetzen
Sven-iX
Community Advisor
Community Advisor
Dez. 4, 2024 8:14 PM UTC

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.

 

Übersetzen
Dez. 5, 2024 3:09 AM UTC

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?

Übersetzen
Sven-iX
Community Advisor
Community Advisor
Dez. 5, 2024 9:41 AM UTC

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.

Übersetzen