How to make IFS REST Partner Connector requests Time Zone aware


Introduction
With the release of the Time Zone support feature in IFS Cloud, the Boomi platform now also supports this functionality. The IFS REST Partner Connector accommodates both site and server time zones by enabling the "X-IFS-Time-Zone-Aware-Request" OData Request header property. This property is only available if the corresponding entity, action, or function is annotated as time zone aware. The following approaches explain how to enable time zone awareness for request flows through the IFS REST Partner Connector and various methods to make the request time zone aware.

Enabling Time Zone awareness in the Operation Component
It is possible to configure every request as time zone aware by enabling the "Time Zone Aware Request" checkbox. This ensures that all requests processed through this operation component will adhere to the specified time zone settings of the Object.

User-added image

Dynamically Marking Each Request as Time Zone Aware
You can dynamically configure each request to be time zone aware using the following methods:

1. 
Dynamic Operation property
Under the "Dynamic Operation Properties" tab in the IFS REST Connector configuration dialog, you can dynamically set the value for "Time Zone Aware Request".
User-added image

 
2. Dynamic Connector Property
Using a "Set properties" step, you can dynamically define the value for "Time Zone Aware Request" Connector property.

User-added image

This property will be available as a Document property of the Connector
User-added image

Note: 
***At present , the connector does not handle case where the "X-IFS-Time-Zone-Aware-Request" header is set to true using the Dynamic Connector property for time zone-unaware objects, leading to exceptions. It alerts users when attempting to treat an unannotated object as annotated.