public interface DelegateExecution extends VariableScope {
/** execution Id */
String getId();
/** 流程實例id*/
String getProcessInstanceId();
/** 這個比較有用 主要就是start、end、take */
String getEventName();
/**
* 業務id,已經廢棄的用法
*/
String getBusinessKey();
/**
* 業務id */
String getProcessBusinessKey();
/**
* 流程定義id
*/
String getProcessDefinitionId();
/**
* 獲取父id,並發的時候有用
*/
String getParentId();
/**
* 獲取當前的 Activityid
*/
String getCurrentActivityId();
/**
* 獲取當前的 Activity name
*/
String getCurrentActivityName();
/**
* 獲取TenantId 當有多個TenantId 有用
*/
String getTenantId();
/**
* 這個非常有用吧。當拿到EngineServices 對象所有的xxxService都可以拿到。
*/
EngineServices getEngineServices();
}