cityofaustin / atd-knack-signs-markings

https://atd-knack-signs-markings.netlify.com/
Other
1 stars 0 forks source link

Feature: Convert Service Request --> Work Order --> Job "Issued" (SR Details) #263

Closed dianamartin closed 4 years ago

dianamartin commented 4 years ago

Page:

I want to be able to convert this SR into a Marking Job that is assigned to a particular work group (Creates a work order --> markings job)

Review Activity form Review Record rules on form

When Dispatch Technician/Crew - this trigger will create Work Order --> Job.

dianamartin commented 4 years ago

I was able to add this functionality, however, it puts the work order and the job into an On Hold status. I need to tweak the HOLD PLANS conditional rule in the object table. Because I tweaked a rule, it made the maintenance rule obsolete making 484 maintenance records to go to the On Hold status.

In the process of copying over a new development environment.

dianamartin commented 4 years ago

https://builder.knack.com/atd/4-dec-2019--test-signs-and-markings-operations#pages/scene_1264/views/view_3158

Reference the Attachment record rule - Pending Deletion

Insert a connected record - a new work order signs markings attachment - connected to work order markings. When - default blank Values

dianamartin commented 4 years ago

Test 1

VIA GRANDE DR & VIA VERDE DR, AUSTIN, TX - 19-00283497

  1. Add Dispatch Technician/Crew activity
  2. Testing: selection of multiple work groups..
    • Selected SHORT LINE, SPECIALTY MARKINGS
    • Result: Created Work Order, No Job. Work Order Status: On Hold

      Checked work order and Jobs were created - Status: Issued. Seems like record rule didn't work. Returned to Service Request details and the Jobs records are now showing up.

I checked the back end of the MRK19-009600 and noticed the Requester field wasn't populated. I made sure the form's record rules were updated to include that.

I will also manually change the Requester field for MRK19-009600 to see if the Work Order Status updates.

dianamartin commented 4 years ago

Test 2

SPRUCE CANYON DR & VIA GRANDE DR, AUSTIN, TX - 19-00283490

  1. Add Dispatch Technician/Crew activity
  2. Testing: only one work group selection
    • Selected Raised Pavement Markings work group
    • Result: Created Work Order, Work Order Status: Need to Be Issued

      I refreshed the Service Request details page and the connected job showed up with Job Status: Issued. The work order status also updated to Issued.

I went into the markings work order the