• Triggers an User Workflow Event, which is always a POST-Request.

    Parameters

    • eventGuid: string

      The parameter eventGuid of the generic event handler.

    • urlParameters: object

      An object containing name value pairs, which will be part of the Query-String.

    • ajaxParameters: object

      An object containing synchronous mode.

    Returns Promise<[]>

    Example

    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});
    

    Example

    $.when(triggerUserWorkflowEvent("<EVENTGUID>", {"param1":"value1", "param2":"value2"}, {"async": true}))
    .done(function() {
    alert("done");
    })
    .fail(function() {
    alert("failed :(");
    });