Service call
Invokes a service that can be triggered by an On load event handler or programmatically.

Appearance

Behavior

Formula

Extends:
com.ibm.bpm.coach.CoachView
Methods:

execute(input)
Executes the attached AJAX service

Inherited getData() Returns: {Object}
Retrieve the bound data associated with the view. It applies only to views with bound data.
Example

getInputData() Returns: {ANY}
Returns the input for this service

getLastError() Returns: {ServiceError}
Get most recent error thrown

getResult() Returns: {ANY}
Returns the result from the attached AJAX service

isAutoRun() Returns: {boolean}
Returns the indicator for Auto Run

Inherited isBound() Returns: {boolean}
Indicate the bound status of the view.

Inherited isLabelVisible() Returns: {boolean}
Check whether the view label is visible.
Example

Inherited isValid() Returns: {boolean}
Return the valid status as last set by the setValid() method.
Example

Inherited propagateUpValueChange(event) Returns: {boolean}
Propagate the value change of the view up through the parent views.
Example

setAutoRun(flag)
Specifies whether this service runs automatically on load and whenever the input value is updated

setInputData(data)
Specifies the default input for this service

Inherited setLabelVisible(visible)
Show or hide the view label.
Example

Inherited setViewData(data, createPseudoBinding)
Set or update the bound data associated with the view. It applies only to views with bound data.

Note: It should only be used with simple type bindings, or complex type bindings with simple type properties.
It should not be used with bindings that have properties that are lists or compext types. For complex types, set the bindings by using
the binding.set pattern, as described in the Binding data and configuration options documentation section.
Example

Inherited triggerFormulaUpdates([phase])
Broadcast the expression trigger for the specified view.
Example