簡體   English   中英

如何在 Alfresco Process 服務中獲取當前的 activitiName (Activti 7)

[英]How to get the Current activitiName in Alfresco Process services (Activti 7)

在 Alfresco APS 2.3 版本中,我們進行了一次升級,即將 ActivitiExecution 類更改為 Delegate Execution 類。

這兩個類都有 execute() 方法。

在 ActivitiExecution 的 execute() 方法中,我們有一個名為“getCurrentActivitiName()”的方法

但是在 DelegateExecution 的 execute() 方法中,我們沒有這個名為“getCurrentActivitiName()”的方法。

如何在 DelegateExecution 類中沒有此方法的情況下獲取 Alfresco Process 服務(Activti 7)中的當前 activitiName?

嘗試以這種方式投射。

ActivityExecution activityExecution =(ActivityExecution) 委托執行;

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM