ARCHIBUS Web Central

Using Input Parameters

Views can pass input parameters to workflow rules, mainly to specify:


Event-handler methods can declare input parameters as shown in the example below:

public void approveAction(String assignedTo, double costEstimated) {
    ...
}


JavaScript code can send the input parameters as follows:

try{
    var result = Workflow.call('AbSolutionsViewExamples-LogicExamples-approveAction', assignedTo, costEstimated);
} catch (e) {
    Workflow.handleError(e);
}

Although all input parameter values are passed to the event-handler method via the HTTP request as strings, Web Central will convert them to Java types, as declared in the event-handler method. You can use input parameters of the following types: