1. Getting started
A new server's first start: the setup token and page, the sample users, the Workbench, and the model the tutorials use.
Read the full instructions →Transcript
npx bpmn-server init makes an application. It starts with no users, and no default password to guess.
Instead, the server prints a setup token, where only whoever runs it can read it.
Every page leads to the setup until there is an administrator. It asks for that token first.
Then the administrator: a user name, an email, and a password.
And, for the tutorials, two sample users: user1, an employee, and manager1, a manager.
Signed in, the Workbench: the models, the tasks waiting, and the instances that ran.
Each model shows its diagram. Open model takes it to the model editor.
The tutorials follow one model, Leave Application, from the browser to code and tests.
Lanes say who does the work in them: the Employee, Manager and HR lanes.
User tasks wait for a person, with a form: Request, then Approve.
A gateway takes one way from the outcome chosen, and a timer on Approve sends a reminder while it waits.
Next, tutorial 2: who may do what.