Share via


LeanCommandBase.run Method [AX 2012]

Triggers the execution of the current command and transitions the execution flow to the next one in the pipeline.

Syntax

public boolean run()

Run On

Called

Return Value

Type: boolean
true if the command was executed successfully; otherwise, false.

Remarks

The base implementation here provides unconditional and sequential execution of all pipelined commands.

If the execution order/logic must be changed, this method should be overriden.

All commands are executed in a common transaction scope provided by the LeanRulesEngine class.

See Also

Reference

LeanCommandBase Class