Smart Service - Move to Collab

Dear Team, I am new comer to Appian have background of IBM BPM, Can you please guide where to find  inner exception details (log for this error) of a smart service ( Move to Collab). It is giving error 

com.appiancorp.suiteapi.process.exceptions.SmartServiceException: java.lang.Exception: Invalid File Path: /webattachments/path/foldername//info@alwaha-qatar.com/qid20220327080031286QID_&_PP.pdf

we are using to move files from file server to appian mount path but it is completed sometimes & gives above error some times.

  Discussion posts and replies are publicly visible

Parents
  • 1. Check Appian Logs

    Appian maintains detailed logs that you can use to debug such issues. Specifically:

    1. Application Server Log (<APPIAN_HOME>/logs/application-server.log or equivalent):

      • Contains stack traces for errors.
      • Look for entries related to SmartServiceException and the provided file path.
    2. Service Manager Logs (<APPIAN_HOME>/logs/service-manager/):

      • Logs for services such as the Move to Collab smart service may provide additional details.
    3. Process Error Log:

      • If you're running this service as part of a process model, you can access the process error logs via the Process Details in Appian Designer.

      To access:

      • Navigate to the specific process instance in Appian Designer.
      • Look for the "Errors" tab and expand it to review details.

    2. Verify the File Path

    The error indicates an invalid file path. Issues to check:

    • Double Slashes (//): The path includes foldername//, which may cause the service to fail.
    • Special Characters (& and @): Some characters may not be supported in file names on certain systems.
    • File Existence: Ensure the file actually exists in the specified location before the smart service executes.

    3. Debugging the Smart Service

    • Enable debugging in the process model to capture variable values at runtime.
    • Validate the inputs provided to the Move to Collab smart service, especially the source path and destination path.

    4. Test Consistency

    The error occurs sporadically, suggesting:

    • Possible file availability issues on the file server.
    • Network latency or intermittent connectivity problems.
    • Permissions issues for accessing files in the specified location.

    5. Additional Resources

    • Appian Documentation:
      • Review the official documentation for the "Move to Collab" smart service for configuration and known issues.
    • Appian Community Forum:
      • Post the issue for insights from other Appian practitioners.

    Next Steps

    1. Review the relevant logs for more detailed exceptions.
    2. Fix the file path to avoid double slashes and unsupported characters.
    3. Test with a simpler file path to confirm the root cause.
    4. If the issue persists, escalate with Appian Support, providing log excerpts and details.

    Let me know if you need further assistance.

    Regard Albert Jonson PPSSPP

Reply
  • 1. Check Appian Logs

    Appian maintains detailed logs that you can use to debug such issues. Specifically:

    1. Application Server Log (<APPIAN_HOME>/logs/application-server.log or equivalent):

      • Contains stack traces for errors.
      • Look for entries related to SmartServiceException and the provided file path.
    2. Service Manager Logs (<APPIAN_HOME>/logs/service-manager/):

      • Logs for services such as the Move to Collab smart service may provide additional details.
    3. Process Error Log:

      • If you're running this service as part of a process model, you can access the process error logs via the Process Details in Appian Designer.

      To access:

      • Navigate to the specific process instance in Appian Designer.
      • Look for the "Errors" tab and expand it to review details.

    2. Verify the File Path

    The error indicates an invalid file path. Issues to check:

    • Double Slashes (//): The path includes foldername//, which may cause the service to fail.
    • Special Characters (& and @): Some characters may not be supported in file names on certain systems.
    • File Existence: Ensure the file actually exists in the specified location before the smart service executes.

    3. Debugging the Smart Service

    • Enable debugging in the process model to capture variable values at runtime.
    • Validate the inputs provided to the Move to Collab smart service, especially the source path and destination path.

    4. Test Consistency

    The error occurs sporadically, suggesting:

    • Possible file availability issues on the file server.
    • Network latency or intermittent connectivity problems.
    • Permissions issues for accessing files in the specified location.

    5. Additional Resources

    • Appian Documentation:
      • Review the official documentation for the "Move to Collab" smart service for configuration and known issues.
    • Appian Community Forum:
      • Post the issue for insights from other Appian practitioners.

    Next Steps

    1. Review the relevant logs for more detailed exceptions.
    2. Fix the file path to avoid double slashes and unsupported characters.
    3. Test with a simpler file path to confirm the root cause.
    4. If the issue persists, escalate with Appian Support, providing log excerpts and details.

    Let me know if you need further assistance.

    Regard Albert Jonson PPSSPP

Children
No Data