getApplicationAdminMode

檢查應用程式是否處於管理模式而且存取權限僅限於服務管理員

此命令在應用程式處於管理模式時會傳回 true,否則會傳回 false,適合在執行自動化指令碼之前,檢查應用程式的狀態。例如,refreshCube 命令會要求應用程式須處於管理模式。您可以如下在自動化指令碼中使用此命令來檢查應用程式是否處於管理模式。

adminMode = ‘epmautomate.sh getApplicationAdminMode’
        if ["$adminMode" == "true"]
              epmautomate.sh refreshCube

適用於

PlanningPlanning 模組FreeFormFinancial Consolidation and CloseTax ReportingEnterprise Profitability and Cost ManagementAccount ReconciliationStrategic Workforce PlanningSales Planning

必要角色

服務管理員

用法

epmautomate getApplicationAdminMode

範例

epmautomate getApplicationAdminMode