URS - WFS MAPPING TRIGGER - 48746

a

#FEATURE URS-WFS MAPPING

#SCENARIO URS CHANGE BY CLEARING VEHICLES ON INCIDENT

GIVEN a vehicle is assigned to an incident

WHEN clearing the vehicle on the incident and updating URS to one that is mapped to WFS

THEN the vehicle WFS should automatically update

#SCENARIO URS CHANGE ON MULTIPLE VEHICLES AND PERSONNELS

GIVEN 2 vehicles and 2 personnel are assigned to an incident

WHEN vehicles and personnel URSs are changed to ones mapped with WFSs

THEN all vehicles and personnel WFS should update automatically

#SCENARIO SUBSEQUENT URS MAPPED TO WFS CHANGE ON VEHICLE

GIVEN a vehicle is assigned to an incident

WHEN vehicles URS is updated to one mapped to a WFS
AND updated to another URS mapped to a different WFS

THEN the vehicle WFS should be updated automatically on both instances

#SCENARIO URS CHANGE ON PERSONNEL

GIVEN a vehicle is assigned to an incident

WHEN personnel URS is change to a mapped WFS

THEN the personnel's WFS should automatically change to mapped WFS

#SCENARIO URS CHANGE ON VEHICLE WITHOUT CREW

GIVEN a vehicle is assigned to an incident

WHEN vehicle URS is change to a mapped WFS

THEN the vehicle's WFS should automatically change to mapped WFS

#SCENARIO URS CHANGE ON CREW IN VEHICLE

GIVEN a vehicle with crew is assigned to an incident

WHEN crew URS is change to a mapped WFS

THEN only the crew's WFS should automatically change to mapped WFS

#SCENARIO URS CHANGE ON VEHICLE WITH CREW

GIVEN a vehicle with crew is assigned to an incident

WHEN vehicle URS is change to a mapped WFS

THEN the vehicle and crew's WFS should automatically change to mapped WFS

#SCENARIO B LOCATION URS CHANGE FOR VEHCILE

THEN vehicle WFS should update automatically

GIVEN a vehicle is assigned an incident
AND B location is added to incident

WHEN updated B location to URS mapped to WFS

#SCENARIO URS CHANGE ON MDC

GIVEN a responder is logged into MDC

WHEN updating to URS mapped with WFS

THEN the responder's WFS should update automatically

#SCENARIO INCIDENT STATUS CHANGE ON ASSETS GRIDS

GIVEN a vehicle is assigned to an incident

WHEN updating incident status on asset grid to URS mapped to WFS

THEN vehicle WFS should update automatically

#SCENARIO INCIDENT STATUS CHANGE ON ORDERS GRIDS

GIVEN a vehicle is assigned to an incident

WHEN updating incident status on orders grid to URS mapped to WFS

THEN vehicle WFS should update automatically

#SCENARIO MANUAL WORKFORCE STATUS CHANGE

GIVEN a vehicle is assigned to an incident
AND vehicle is on WFS mapped to URS

WHEN updating vehicle WFS manually

THEN vehicle WFS should be updated to new WFS and saved

#SCENARIO NO URS MAPPED TO WFS

GIVEN there are no URSs mapped to WFSs

WHEN updating vehicle/personnel URS

THEN WFS should not be update
AND there should be no errors

#SCENARIO URS CHANGE ON MOBILE

GIVEN a responder is logged into Mobile app

WHEN updating to URS mapped with WFS

THEN the responder's WFS should update automatically

#SCENARIO URS CHANGE BY SELF DISPATCH

GIVEN a responder is logged into MDC

WHEN creating an incident
AND updated URS mapped to WFS

THEN responder WFS should update automatically

#SCENARIO URS CHANGE BY SELF ATTACH WHEN ALREADY ASSIGNED TO AN INCIDENT

GIVEN a vehicle is already assign to an incident and is responding/on scene

WHEN self-attaching to another incident
AND changing URS on initial incident to one mapped to WFS

THEN vehicle WFS should update automatically

#SCENARIO URS MAPPED TO WFS AND THEN ONE NOT MAPPED TO WFS

GIVEN a vehicle is assigned to an incident

WHEN vehicles URS is updated to one mapped to a WFS
AND updated to another URS not mapped to a WFS

THEN the vehicle WFS should update once in the first instance

#SCENARIO URS NOT MAPPED TO WFS AND THEN URS MAPPED TO WFS

GIVEN a vehicle is assigned to an incident

WHEN vehicles updated to URS not mapped to a WFS
AND then updated to URS mapped to a WFS

THEN the vehicle WFS should be updated one the second instance

#SCENARIO SET DIFFERENT CONFIG IN ROOT AGENCY AND CHILD AGENCY

GIVEN a root agency has URS to WFS config setup

WHEN a child agency is not setup

THEN the root agency config should not apply root agency config

#SCENARIO SET IN ROOT AGENCY ONLY

GIVEN a root agency has URS to WFS config setup

WHEN a child agency is also setup

THEN the child agency config should apply

PERSONAS

r

Call TakerDispatcherResponder

PRE-CONDITIONS

r

At least one Unit Response Status is mapped to a Workforce Status on a tenant