In this installment of our technical series on Fusion Applications Social Network Integration (FASNI), we examine the channel naming convention within Oracle Integration Cloud (OIC) for use in Microsoft Teams conversations concerning Fusion Applications (FA) Business Objects. We'll review the current implementation and the touchpoints to make any customizations.
The FASNI channel naming mechanism leverages two pivotal features of OIC: Lookups and Libraries (JavaScript functions). The naming process follows these straightforward steps:
The getChannelName function ensures compliance with Microsoft Teams’ channel naming restrictions by returning a string capped at 50 characters and substituting any invalid characters with a dash (-). Here's a summary of these limitations:
To illustrate the name generation flow, consider the channel name template for a Procurement Requisition. The Lookup key in OIC would be PROCUREMENT.REQUISITION.ChannelName, with a template resembling:
Requisition Number - {Requisition}
Here, {Requisition} acts as a placeholder for dynamic data retrieved from the FA Business Object. During the naming process, the getChannelName function will replace {Requisition} with an actual number obtained via the FA REST API, resulting in a channel name such as:
Requisition Number – 915271
This example demonstrates the process of transforming a standardized template into a unique channel name that aligns with Microsoft Teams' requirements. It also underscores the customizable nature of the Lookup template, which can adapt to various Business Object fields as necessary. In practice, the Lookup template can integrate multiple Business Object attributes, each identified by curly braces. Be aware that any generated channel name surpassing the 50-character limit of Microsoft Teams will be truncated, potentially leading to non-unique names and consequent channel creation errors. It's essential to construct channel names that are unique yet concise to avoid these issues.
Customizing channel naming in FASNI centers on the getChannelName function within OIC. This function is responsible for:
To tailor the getChannelName function for specific requirements:
By following these guidelines, you can customize the channel naming process while minimizing disruption to the existing OIC workflows.
To sum up, the getChannelName function within OIC serves as a key integration point for generating Microsoft Teams channel names from FA Business Objects. Customization of this function should be approached with an understanding of Teams' constraints and OIC's capabilities. When modifying the getChannelName function, retaining the original function signature is critical to avoid disruptions in service.
It's important to test any changes thoroughly to ensure that new channel names meet both Microsoft Teams' requirements and the business's needs. Properly implemented, these customizations can enhance the collaboration experience with Fusion Business Objects.
Previous Post