AddActionHandlerToNodes

Description

This ActionHandler can add the given action handler to every activity and set it to be executed if certain events occur. The activity on which the handler itself is located is NOT considered.


Class

com.dooris.bpm.actionhandler.AddActionHandlerToNodes

Parameter

Parameter

Default value

Description

Valid examples

Parameter

Default value

Description

Valid examples

actionNamemandatory

N/A

The displayed name of the action handler being added to the tasks.

Check Efforts

actionClass
mandatory

N/A

The action class of the action handler being added.

com.dooris.bpm.actionhandler.CheckMandatoryEfforts

eventType

task-end

Set to task-end by default. However, it may be set to any of the following parameters:

  • before-signal

  • after-signal

  • process-start

  • process-end

  • node-enter

  • node-leave

  • superstate-enter

  • superstate-leave

  • subprocess-created

  • subprocess-end

  • task-create

  • task-assign

  • task-start

  • task-end

  • timer

before-signal

mandatoryFields

empty

Parameter of the action handler being called.

type=TimeEffort



Example:
In this example, we have a part of the 'Purchasing' work flow. AddActionHandlerToNodes is set under the Technical Issues node.


Every activity in this process flow will have the ProcessVariableSetter with the following configuration:

Parameter

Example Value

Parameter

Example Value

actionName

Save the current activity name

actionClass

com.dooris.bpm.actionhandler.ProcessVariableSetter

eventType

node-enter

mandatoryFields

name=current_activity;value=${SYS.NODE_NAME}

The parameter current_activity value will be updated as ${SYS.NODE_NAME} in each activity node.