The parameter eventGuid
of the generic event handler.
An object containing name value pairs, which will be part of the Query-String.
An object containing synchronous mode.
Trigger event with guid <EVENTGUID>
.
Define a generic event handler with the class de.uplanet.lucy.server.workflow.eventhandler.UserWorkflowEventHandler
before.
triggerUserWorkflowEvent("<EVENTGUID>", {"param1":"value1","param2":"value2"}, {"async": true});
$.when(triggerUserWorkflowEvent("<EVENTGUID>", {"param1":"value1", "param2":"value2"}, {"async": true}))
.done(function() {
alert("done");
})
.fail(function() {
alert("failed :(");
});
Triggers an User Workflow Event, which is always a POST-Request.