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 |