Business rules installed with Facilities Move Management
A business rule is a server-side script that runs when a record is displayed, inserted, updated, deleted, or when a table is queried.
Facilities Move Management adds the following business rules.
| Business rule | Table | Description |
|---|---|---|
| Force Workflow Update | Enterprise Move Request Task\[enterprise\_move\_request\_task\] | Forces workflow to trigger on close |
| Move to/from Facility Spaces only | Enterprise Move Detail\[move\_detail\] | Only allows facility space \(fm\_space\) as to or from location |
| Pending Assignment - Update Task State | Move Task\[move\_task\] | Sets state to pending assignment |
| Set request to WIP | Enterprise Move Request Task\[enterprise\_move\_request\_task\] | Set request to work in progress when a task is started |
| Keep request scenario reference in synch | Enterprise Move Scenario\[enterprise\_move\_scenario\] | Update scenario on enterprise move request |
| Move Catalog out of draft | Move Request\[move\_request\] | If the request was created through the facilities catalog, set the state to Ready |
| Move users and assets | Enterprise Move Request Task\[enterprise\_move\_request\_task\] | Update user and asset location |
| Set Requested by user | Move Request\[move\_request\] | Set caller and requested by user |
| Enforce Building when floor is populated | Enterprise Move Detail\[move\_detail\] | Prevent the selection of a building that does not contain a floor |
| Set Building when floor is populated | Enterprise Move Detail\[move\_detail\] | Set the building when one of its floors are selected |
| Do not remove scenario from move request | Enterprise Move Request\[enterprise\_move\_request\] | Maintain the scenario with the move request |
| Trigger workflow on update | Move Task\[move\_task\] | Force workflow to start |
| Prevent non-space to\_location | Enterprise Move Detail\[move\_detail\] | Ensure the to location is a facilities space (fm_space) |
| Prevent Duplicates | Enterprise Move Detail\[move\_detail\] | Do not allow the same move detail record to be added more than once |
| Set Move Request | Enterprise Move Request Task\[enterprise\_move\_request\_task\] | Set the parent request |
| Check for open tasks | Enterprise Move Request\[enterprise\_move\_request\] | Prevent a request from being closed when tasks are still open |
| Autopopulate Move Delegator | Enterprise Move Delegator\[move\_delegator\] | Set the delegator |
| Add messaging | Enterprise Move Request\[enterprise\_move\_request\] | Add help messaging on the move request |
| Uncheck task options | Enterprise Move Request\[enterprise\_move\_request\] | |
| Set Assigned | Enterprise Move Request Task\[enterprise\_move\_request\_task\] | Set the state to Assigned when Assigned to is not empty and State is Pending Assignment |
Parent Topic:Installed with Facilities Move Management