Skip to content

SAP Field Service Management - artificial intelligence scheduling - reference implementation and tools.

License

Notifications You must be signed in to change notification settings

SAP-samples/fsm-scheduling-samples

Repository files navigation

SAP Field Service Management - Intelligent Scheduling Samples

REUSE status

About this repository

In this repository you will find example code, code snippet and a example scheduling workbench-app application to work with SAP FSM APIs for advanced scheduling use cases and reference implementation for integration scenarios.

Demo application

Find a workbench demo here: demo-application

Requirements

to use the examples in this repository you will need a SAP FSM account with admin-role data access with account (id & name) / company (id & name) / user (id & name) as well as the name of the data-cluster (eu|de|us|au|cn)

to build and run the source code:

  • docker 19.x
  • nodejs v10.x
  • npm v6.9.x

NOTE: We recommend using unix based systems to follow this guide. Note that for OSX and Windows tools might be installed differently.

Getting started, Download and Installation

Checkout the how-to.md quick guide in the /docs-folder.

Running pre build docker container locally

docker run --rm -e PORT=3000 -p 3000:3000 --name fsm-scheduling-samples gausim/fsm-scheduling-samples:latest

open http://localhost:3000 in your browser

Build from source & run workbench-app locally

use the cli the following command in the /workbench-app-folder

cd workbench && ./cli.sh 

use commands:

r -> run container
b -> build container
d -> deploy

Configuration

  • For workbench configuration options see this readme-file

Limitations

Known Issues

  • There are no known issues for the moment.

Supplements

On top of the workbench application, you can also configure Business Rules to trigger reoptimization and avoid scenarios like overlapping jobs for a Technician. Refer to business-rules folder.

How to obtain support

Product support

Technical request

Related documentation

Contributing

Want to contribute? Check out our contribution guide and follow our code of conduct.

License

Copyright (c) 2021 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.