...
Route Status Changes
org.kuali.ricekfs.kns.document.doRouteStatusChange()
is invoked by the KNS post processor when the document's route status (e.g. initiated, enroute, final, etc.) changes. The document's new status is accessible via the document header's workflow document (see sample code). The workflow document implements org.kuali.ricekfs.kns.workflow.service.KualiWorkflowDocument
, and its methods to retrieve a document's status begin with "stateIs".
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
/** * @see org.kuali.ricekfs.kns.maintenance.KualiMaintainableImpl#doRouteStatusChange(org.kuali.ricekfs.kns.bo.DocumentHeader) */ @Override public void doRouteStatusChange(DocumentHeader documentHeader) { super.doRouteStatusChange(documentHeader); // notify CAB of document status change if (((AssetGlobal) getBusinessObject()).isCapitalAssetBuilderOriginIndicator()) { SpringContext.getBean(CapitalAssetBuilderModuleService.class).notifyRouteStatusChange(documentHeader); } } |
Route Level Changes
org.kuali.ricekfs.kns.document.Document.doRouteLevelChange(DocumentRouteLevelChangeDTO)
is invoked by the KNS post processor when the document's route level changes.
...