[ActivityName]SynchronousActivity

This class is used to add business logic for a synchronous activity.

The following sequence diagram illustrates how the methods in the [ActivityName]SynchronousActivity<N> class are invoked:

The [ActivityName]SynchronousActivity<N> class contains the following methods:

Methods Description
public void init() Use this method to initialize the activity.

This is a BusinessWorks 6 life-cycle method.

public void destroy() Use this method to release or clean resources held by an event source, when an event source is destroyed.

This is a BusinessWorks 6 life-cycle method.

public N execute() Use this method to define the execution of a synchronous activity.

This is a BusinessWorks 6 life-cycle method.

protected <A> N evalOutput Use this method to generate output when the business is completed.
protected N getOutputRootElement() Use this method to get the root element of the output.
public String getInputParameterStringValueByName() Use this method to get the value of a string parameter according to the parameter name from the input.
Note: This method cannot retrieve the value of a sub node.
public String getInputAttributeStringValueByName() Use this method to get the value of an attribute according to the parameter name from the input.
public boolean getInputParameterBooleanValueByName() Use this method to get the value of a boolean parameter according to the parameter name from the input.