Step 2: Create Events [web|gui]
This part of the tutorial steps you through the process of creating the events for the peer review process. Event creation typically will be an iterative process that will require the input of multiple stakeholders. In this step, we provide only minimal information about the purpose of each event. The contribution of each event will become more clear in Step 3 and Step 4 of the tutorial as we construct workflows and associate actions with their events.
1. Select the Event Editor tool from the list of tools on the Metis home page. The event editor's home page will be loaded. If this is your first time using the event editor, you will not see any existing events listed. Instead, there will be a field that allows you to create a new event.
2. In the text field, type submissionReceived and click the Create Event button. A new event will be created and the event editor's edit page will be loaded. The edit page lists the name of the event and all of its attributes. The last line in the attribute listing allows you to add new attributes to the event. Currently, attributes are restricted to being text strings. In a future version of Metis, multiple attribute types will be supported.
3. Type id in the Name field, leave the Default Value field blank, click the Is Key? checkbox, and then click the Add button. The editor will list the new attribute. If you made a mistake, you can alter the Name, Default Value, and Is Key? fields and click the attribute's Update button. If you want to remove an attribute, click its associated Delete button.
4. Add the following additional attributes to the submissionReceived event: area, authors, contactName, contactEmail, title, and url. Only the id attribute should have its Is Key box checked.
5. Save the event by clicking on the Save Changes button. If you want to start over, you can click on the Abandon Changes button. If so, then return to step 2 above.
6. Using the table below, create the rest of the events. Each event has an id attribute that must have its Is Key? box checked. No other attribute needs to be key.
| Event Name | Attributes |
|---|---|
| submissionProcessed | id, url |
| actionEditorAssigned | editorEmail, editorName, id |
| reviewerAssigned | id, reviewerEmail, reviewerName, url |
| deadlineAssigned | deadline, id |
| deadlinePassed | id |
| reviewComplete | id, status, url |
| authorNotifiedOfSuccess | id, url |
| authorNotifiedOfRejection | id, url |
| authorNotifiedOfRequiredRevision | id, url |
7. When you are finished creating all of these events, click on the Metis Home Page button to leave the Event Editor.