Create Box Folders for ServiceNow Incidents

Use this recipe to create a folder in Box when an incident is created in ServiceNow.

Note:

This recipe is available as ServiceNow — Box | Create Folders for Incidents in the Integration Store. Oracle provides this recipe as a sample only. The recipe is meant only for guidance, and is not warranted to be error-free. No support is provided for this recipe.

Overview

This recipe creates respective folders in Box for incidents created in ServiceNow. Each ServiceNow incident has a unique system generated number. The name of the folder that gets created in Box for the ServiceNow incident matches the ServiceNow incident’s unique number. Also, the Id of the folder created in Box gets updated in the custom field created in ServiceNow.

The recipe uses the standard ServiceNow Adapter and the standard Box Adapter. To use the recipe, you must install the recipe package and configure the connections and other resources within the package. Subsequently, you can activate and run the recipe manually. When the integration flow gets triggered by an incident created in ServiceNow, it checks if a folder with the same name as the newly created incident's unique number already exists in Box. If a similar named folder exists, it ignores the folder creation. Otherwise, it creates a new folder in Box under the specified parent folder, and also creates a shared link for the new folder.

System and Access Requirements

  • Oracle Integration Version 21.1.2.0.0 (210129.2200.39447) or higher
  • ServiceNow
  • Box
  • An account in ServiceNow with the Admistrator role
  • An account in Box with the Administrator role

Recipe Schema

This section provides an architectural overview of the recipe.

The integration flow of the recipe is triggered when an incident is created in the ServiceNow instance. The integration then queries for folders under the parent folder in the Box instance. After retrieving all existing folders under the parent folder, if it finds that there is no folder with the same name as the newly created incident's unique number, then it creates a corresponding folder for the incident under the parent folder in Box.

Description of servicenow-box-create-folder.png follows
Description of the illustration servicenow-box-create-folder.png