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.

Warning
Error Description :

During workflow import, the following error is observed in the logs:
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
🔍
Alert
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\tempThis 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
Navigate to the Tomcat temp directory:
E:\AutomationEdge\tools\apache-tomcat-9.0.65\temp
Right-click → Properties → Security
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.