Unable to import workflow on the AutomationEdge Server.

Unable to import workflow on the AutomationEdge Server.

Info
Overview :

When we encounter a failure while importing workflows in AutomationEdge. The system throws an unexpected runtime exception due to the inability to create a temporary directory on the application server.

Error Description :

The logs reveal the following error during the workflow import:

com.automationedge.aeutil.exception.AECustomRuntimeException: Unexpected error occurred. Please contact AutomationEdge Administrator.

Caused by:
java.nio.file.AccessDeniedException:
E:\AutomationEdge\tools\apache-tomcat-9.0.65\temp\AE_ImportWflow_<random_id>

Error Message:
Could not create temp directory

: Root Cause :

The issue occurs when the Tomcat server does not have sufficient permissions to create directories in its configured temporary directory:

E:\AutomationEdge\tools\apache-tomcat-9.0.65\temp

This typically happens when:

  • Tomcat is running under a restricted Windows user account (e.g., LocalService/NetworkService)
  • Folder permissions do not allow write or modify access
  • Security policies or antivirus tools restrict directory creation

IdeaResolution :

Step 1: Grant Required Permissions

  1. Navigate to the Tomcat temp directory:

    E:\AutomationEdge\tools\apache-tomcat-9.0.65\temp
  2. Right-click → PropertiesSecurity
  3. Provide Full Control or Modify, Read,Write permissions to:
    • The user running the Tomcat service
    • Or the Users group (as per organizational policy)

✅ Verification

  • Retry workflow import
  • Confirm no AccessDeniedException appears in logs.


      Links to better reach 

            Bot Store

             EPD