Ok, i found it out…
very helpfull ist this topic:
Thank you @dorilama
For some reason my code isn’t working:
"Go to the <u onclick='wwLib.executeWorkflow(`d43e2cda-2e70-4340-bf20-591717b09b9d`,{`department_slug`:`hr`,`loader_message`:`Human ressources`})'>Human ressources</u> department"
Logs say that department_slug parameter is missing.
Also, this code seems to make my editor crash
EDIT: now the editor doesn’t crash and there’s no log; the workflow just won’t get triggered. Code remains the same.
my code is now:
<li onclick="wwLib.wwWorkflow.executeGlobal('idoftheworkflow',{'parameter1':'testidstefan'})" style="cursor: pointer;">
Erster Listenpunkt (Click to scroll)
</li>
i am happy.