Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

mulesoft/mule-servicenow-connector-operations-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anypoint ServiceNow Connector Demo

INTRODUCTION


  • The present demo provides an application that contains sample flows which invoke ServiceNow CRUD operations.

Prerequisites

In order to build and run this project, you'll need;

  • Java 8
  • Anypoint Studio 7.x
  • Mule Runtime 4.1.x or higher
  • Anypoint ServiceNow v6.3.0
  • Credentials for a ServiceNow instance

Import the project

  • Go to File > Import.

  • Select Anypoint Studio Project from File System (under the parent folder "Anypoint Studio").

  • Provide the root path to the demo project folder.

  • Select Mule Runtime (4.1.x EE) or higher.

  • Click Finish.

  • Set credentials inside the file src/main/resources/mule-app.properties.

    servicenow.username=
    servicenow.password=
    servicenow.serviceEndpoint=
    
  • Open the Global Element Configuration. Global Element

  • Click the Test Connection button to ensure there is connectivity with the sandbox. A successful message should pop-up.

Run the demo

  • Go to Run > Run As > Mule Application.

example-servicenow-operations-demo-weave :

  • Open a browser and access the URL http://localhost:8081/. You should see the Insert form with prepopulated category and description fields.

Demo Insert

  • Click on Insert button.
  • You should see an alert showing that record was successfully created with its corressponding IDs.

Demo InsertSuccess

  • Click on Get Keys form, after the form shows up, click on Get Keys button.

Demo GetKeys

  • You should see an alert showing number of keys created along with their corresponding IDs.

Demo GetKeysSuccess

  • Click on Get Records form, after the form shows up, click on Get Records button.

Demo GetRecords

  • You should see an alert showing the data of every record with given description.

Demo GetRecordsSuccess

  • Click on Delete Multiple form, after the form shows up, click on Delete Multiple button.

Demo DeleteMultiple

  • You should see an alert showing the number of records which were successfully deleted.

Demo DeleteMultipleSuccess

  • Click on Update form, after the form shows up, click on Update button.

Demo Update

  • You should see an alert showing that record was successfully updated with its corressponding ID.

Note: Record will be created before the update

Demo UpdateSuccess

See more

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages