The domains which are involved in the configuration of these statuses are pmworkflow and pmstate.
pmworkflow hasMany pmstates.
The pmworkflow is then set on a company_config basis. These domains have a one to one relationship.
In order to configure these settings, the following steps must be taken.
Fill out the required fields for the status you are adding:
Name - The name of the pmstate. this must match one of the PM or Acceptance workflow states in the Ticketer in order to display tickets for that status.
Colour - This is the colour which the marker will display as on the map to indicate the presence of tickets in this pmstate. This name in the view preferences window will also display this color.
Has Quarterly PM View - This Boolean determines whether this state gets checked if the Quarterly PM View checkbox is ticked in the View Preferences window.
PM Workflow - The pm workflow that we want to assign this status to.
Once all relevant fields have been populated click Create.
Now that the workflow states have been explained, we need to assign the workflow to the company_config which is active.
Navigate back to the admin list and click the link for Company Configurations.
You will be presented with the following page:
Scroll down to the end of this page and click Edit.
Assign the workflow that was created in the Pm Workflow section. Now click Update.
Now the correct PM workflow and workflow statuses have been assigned and will display in the View Preferences window under Preventative Maintenance.
Navigate to any cluster in the Noc Portal.
Open the View Preferences Preventative Maintenance window and select a status. If tickets are available for this state, note that they display on the map with the marker color associated with that status.