You can trigger global workflows using javascript. The workflows can accept parapeters, so you can pass data to it. In the workflow use any nocode action you need, like “change variable”
To use a workflow from code:
-
activate dev info
-
get the uid of the workflow

-
use
wwLib.executeWorkflow(uid,{param1:'value1'})in your code
