檢查應用程式是否處於管理模式而且存取權限僅限於服務管理員。
此命令在應用程式處於管理模式時會傳回 true,否則會傳回 false,適合在執行自動化指令碼之前,檢查應用程式的狀態。例如,refreshCube 命令會要求應用程式須處於管理模式。您可以如下在自動化指令碼中使用此命令來檢查應用程式是否處於管理模式。
adminMode = ‘epmautomate.sh getApplicationAdminMode’
if ["$adminMode" == "true"]
epmautomate.sh refreshCube
適用於
Planning、Planning 模組、FreeForm、Financial Consolidation and Close、Tax Reporting、Enterprise Profitability and Cost Management、Account Reconciliation、Strategic Workforce Planning 及 Sales Planning。
必要角色
服務管理員用法
epmautomate getApplicationAdminMode
範例
epmautomate getApplicationAdminMode