SIP - Procedures
From Emprise Wiki
Contents
Overview
The Procedures tab provides an interface in which end-users can create, view, and approve procedures based on their application role. Application roles for this interface are the following:
- Procedure Editor - Regular user, who is creating a procedure and submitting it for approval.
- Procedure Approver (Admin role) - Admin user who will view submitted procedures and will approve or deny.
The user's role will determine the features and controls that are available in order to successfully complete tasks.
Main Interface
Display Inactive
Hide Inactive
- Users may hide or display inactive procedures by using the filter dropdown, on the main grid toolbar.
Row Details
- Rows on the grid can be expanded to show secondary details pertaining to the respective row. Details available are the following:
- The name of the procedure creator
- The name of the procedure approver (if the procedure has a status of Approved)
- Comments (Editable by all roles)
Row Details - Add Comments
- Users may update comments for each procedure by clicking on "Edit." Upon clicking on the Edit control, an modal dialog in which comments can be added will be displayed.
Filter
- Creator and Approver roles will default to displaying all Procedure Statuses and Procedure Types.
Adding a Procedure
- When clicking on the "ADD NEW" button, the end-user will be presented with an Add Procedure Dialog. Upon successful completion and submission of the information in the Add Procedure dialog, the user will be taken to the Procedure Builder Interface in a "blank canvas" state as seen here: http://wiki.emprisecorporation.com/index.php/TOMI_-_Procedure_Builder#Blank_Canvas_State .
In the Add Procedure dialog the user will enter the following information:
- Procedure Title
- 128 Characters
- Procedure Type
- Available Procedure Types are outlined in the table below:
Procedure Types / Procedure Properties Dialogs
- When Editing Procedure Properties, an additional dropdown field labelled "Preview Widget" will be available to allow the user to select which widget data shall appear in the Preview column in Inspection Planning.
- This is available for all procedure types, except for Reference.
Inspection Type(s) Selection
Deficiency Type(s) Selection
Blank Canvas State / No Data to Display
Specifications
- Message should be centered both vertically and horizontally in the Grid area
Element Specification
Main Grid Toolbar Design Specification
Main Grid Toolbar Anatomy
- Grid Title - Provides the end-user with a contextual title pertaining to the grid that they are viewing.
- Row Count - Provides the end-user with a count of the results being displayed on the grid in an X of y format, where x is the amount of rows currently being displayed, and y is the total number of rows associated with the query.
- Grid Refresh - Provides the end-user with a way to refresh the grid data.
- View All - Provides the end-user with a way to display all records and when clicked and will update the Row Counter accordingly.
- Live Search - Live Search provides end-users with the ability to perform a text search that applies to the procedure titles on the grid.
- Filter Button - Provides the end-user with a control to open the Filter interface. Additionally, the Filter button will provide a count of all of the filters that are currently applied.
- Add New Button - Clicking on the Add New button will bring the end-user to the "Procedure Builder" interface in the blank canvas state, where they will then build the procedure as seen in: http://wiki.emprisecorporation.com/index.php/TOMI_-_Procedure_Builder#Blank_Canvas_State
Row Anatomy
- Expand/Collapse Icon - Clicking on the Expand/Collapse icon will display or hide additional details for the selected row. This feature is available for all user roles.
- Procedure Title - The procedure title will be displayed on the grid for all user roles.
- Status Pill The status pill will indicate the procedure status. Available statuses will be:
- Draft
- Submitted
- Approved
- Role-Specific Actions - End users will be able to perform actions on the selected procedure based on their user role and the procedure's status.
Row State | Example | Notes |
---|---|---|
Normal | ![]() |
N/A |
Hover | ![]() |
N/A |
Selected | ![]() |
N/A |
Inactive | ![]() |
Inactive rows can be toggled on and off from within the filter dropdown. |
Actions
There will be a single Actions menu in which actions will be enabled or disabled based on the business rules below:
Business Rules
- With each row the database will return both the Editor and Approver attribute. Each will be true or false 1 or 0.
- All users can always perform the actions “PREVIEW” and “DUPLICATE”.
- A procedure can only be “ACTIVATE” or “DEACTIVATE” if Editor is True and the status is “Draft”
- A user can “SUBMIT” a procedure if Editor is true and the status is “Draft”.
- A user can Approve or Deny a procedure if Approver is true and status is “Submitted”.
- A User can also Deny a procedure if Editor is true and status is “Submitted”
The table below defines each action by status and user role:
Action | Behavior | Display in Draft Status | Display in Submitted Status | Display in Approved Status | Display when Inactive | Applicable Roles | Notes |
---|---|---|---|---|---|---|---|
Preview | Opens the Procedure Previewer in a new tab. | Enabled | Enabled | Enabled | Enabled |
|
|
Edit... | Opens the Procedure Builder interface (in the same tab) and loads the procedure configuration that was last saved. | Enabled | Disabled | Disabled | Disabled |
|
|
Procedure Properties... | Opens the Procedure Properties Dialog. | Enabled | Disabled | Enabled | Disabled |
|
|
Duplicate | Duplicates the selected procedure right below it, with "- Copy" appended to the procedure name. | Enabled | Enabled | Enabled | Enabled |
|
|
Validate Procedure... | Checks the procedure for issues and displays one of two dialogs (seen here) based on the outcome. | Enabled | Enabled | Enabled | Enabled |
|
|
Activate | Activates an inactive procedure. | Enabled |
|
If The procedure state is already set to "Active" this option will be disabled in the menu. | |||
Deactivate | Makes an active procedure inactive. The inactive procedure will then be hidden or displayed on the grid based on settings set forth on the main grid toolbar. | Disabled |
|
||||
Submit | Submits the selected procedure for an approver to review, and approve. Submitted procedures will no longer be editable by the Creator. The status pill will show a status of "Submitted." | Enabled | Disabled | Disabled | Disabled |
|
|
Approve |
|
Disabled | Enabled | Disabled | Disabled |
|
|
Deny |
|
Disabled | Enabled | Disabled | Disabled |
|
Procedure Properties
Validate Procedure
Validation Outcome | Emerging Dialog | Notes |
---|---|---|
No Issues Detected | ![]() |
|
Issues Detected | ![]() |
|
Approve Procedure
Deny Procedure
Design Specification
Submit Procedure - Error
If a user attempts to Submit a procedure and any of it's widgets' required attributes are incomplete, the following message will be displayed:
Interactive Prototype & Production Assets