INSERT INTO process (id, name, jbpm_process_id)
VALUES ((SELECT
           nextval('calamus_seq')), 'Deploy', 'io.trygvis.calamus.Deploy');

INSERT INTO process_trigger (id, process, mvel)
VALUES ((SELECT
           nextval('calamus_seq')),
        (SELECT
           id
         FROM process
         WHERE jbpm_process_id = 'io.trygvis.calamus.Deploy'),
        'artifact.groupId == "demo"');
