Skip to content

Commit

Permalink
Add supplement for BRs (#11)
Browse files Browse the repository at this point in the history
* Add supplement for BRs

* Remove Email ID to avoid spamming

* Remove Email ID to avoid spamming
  • Loading branch information
nikhilrane authored Aug 31, 2021
1 parent 60c11f3 commit 1a3533e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ d -> deploy
# 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](/business-rules) folder.

# How to obtain support

## Product support
Expand All @@ -68,7 +71,7 @@ d -> deploy
- [SAP Field Service Management - Product Website](https://www.sap.com/germany/products/field-service-management.html)
- [AI-based Scheduling](https://help.sap.com/viewer/fsm_ai/Cloud/en-US/ai-based-scheduling-overview.html)
- [Best Matching Technician](https://help.sap.com/viewer/fsm_ai/Cloud/en-US/best-matching-technician-two-versions.html)
- [Sample Business Rules for Optimization](https://help.sap.com/viewer/fsm_ai/Cloud/en-US/optimization-business-rules.htm)
- [Sample Business Rules for Optimization](https://help.sap.com/viewer/fsm_ai/Cloud/en-US/optimization-business-rules.html)
- [Optimization API](https://eu.coresystems.net/optimization/api/v1/swagger-ui/#/)
- [Service Management API](https://help.sap.com/viewer/fsm_service_api/Cloud/en-US/service-api-overview.html) [Spec](https://app.swaggerhub.com/apis/coresystemsFSM/ServiceManagementAPI)

Expand Down
4 changes: 2 additions & 2 deletions business-rules/no-overlapping-assignments/customRules.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"name" : "SAMPLE - Validation - Do not allow overlapping assignment",
"objectType" : "SERVICEASSIGNMENT",
"permissionsType" : "USER",
"responsible" : "[email protected]",
"responsible" : "<enter-email-id-here>",
"type" : "TWO",
"variables" : [ {
"name" : "overlapping_sa",
Expand All @@ -40,4 +40,4 @@
"dtoVersions" : "PersonReservation.18",
"query" : "SELECT overlap.id FROM PersonReservation overlap WHERE overlap.person = ${serviceAssignment.technician} AND ((overlap.startDate >= ${serviceAssignment.startDateTime} AND overlap.endDate <= ${serviceAssignment.endDateTime}) OR (overlap.startDate < ${serviceAssignment.startDateTime} AND overlap.endDate > ${serviceAssignment.startDateTime}) OR (overlap.startDate < ${serviceAssignment.endDateTime} AND overlap.endDate > ${serviceAssignment.endDateTime})) limit 20"
} ]
} ]
} ]
4 changes: 2 additions & 2 deletions business-rules/re-optimize/customRules.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"name": "RE_OPTIMIZE",
"objectType": "",
"permissionsType": "MAXIMUM",
"responsible": "[email protected]",
"responsible" : "<enter-email-id-here>",
"type": "TWO",
"variables": [
{
Expand All @@ -116,4 +116,4 @@
}
]
}
]
]

0 comments on commit 1a3533e

Please sign in to comment.