public ActivityImpl findCompensationHandler ( ) { String compensationHandlerId = ( String ) getProperty ( BpmnParse . PROPERTYNAME_COMPENSATION_HANDLER_ID ) ; if ( compensationHandlerId != null ) { return getProcessDefinition ( ) . findActivity ( compensationHandlerId ) ; } else { return null ; } }
Find the compensation handler of this activity .