Skip to main content
Skip table of contents

Notification assignment to technican or team (creation of Maintenance Order)

Endpoint: POST maintenance/notifications/{{id}}/actions/assign

Input Parameters: Technican, Team, Scheduled Finish Time and Assigned by user

Assign to technican:

image-20240510-054117.png

Assign to team:

image-20240510-055023.png

Steps:

  1. User (technican) and Team is checked if exists, otherwise creation of Maintenance Order without user or team

  2. If Equipment is provided for Maintenance Notification and equipment has associated team and Setting parameters Automatic assignment to responsible team + Allow maintenance planning mode by teams are allowed → Team is used for the assignment [chyba, tým přepíše vybraný tým zaslaný v Requestu]

  3. Maintenance Order is created with same parameters as Maintenance Notification, Equipment MTTR, MTBF and Average Reaction time is recalculated. Maintenance Order history is saved. [Refaktor - použít stejnou metodu jako u auto assignemntu při vytváření MN]

  4. Completition confirmation is created

  5. Maintenance Notification status is set to Assigned if user assignment or Assigned to Team if team assignment

  6. If Team or User (technican) is provided, Notification email is sent

    1. Email notifications | MNassign OR Email notifications | MNassignToTeam

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.