5 | | == Procedure |
| 5 | == Procedure 1 |
| 6 | |
| 7 | - Find the `cp_id` of the protocal to use the expedited method. This can be obtained from the URL when viewing the protocol or its participants. For example `https://www15.lamp.le.ac.uk/openspecimen/#/cp-view/12/participants` |
| 8 | 2. Log into the database and select the record from the `os_cp_workflows` table: |
| 9 | |
| 10 | {{{ |
| 11 | #!sql |
| 12 | SELECT * FROM os_cp_workflows; |
| 13 | }}} |
| 14 | |
| 15 | 3. Take note of the `CP_ID` of a process that currently uses the expedited method. |
| 16 | 4. Duplicate the existing record with the new ID: |
| 17 | |
| 18 | {{{ |
| 19 | #!sql |
| 20 | INSERT INTO os_cp_workflows SELECT {new_cp_id}, WORKFLOW FROM os_cp_workflows WHERE CP_ID = {old_cp_id}; |
| 21 | }}} |
| 22 | |
| 23 | == Procedure 2 |