Automic Workload Automation

AE Java API inconsistencies

  • 1.  AE Java API inconsistencies

    Posted 01-11-2019 09:14 AM

    I thought I'd document this here to save others trouble.

     

    1. SearchObject.setSearchLocation expects path names to be prefixed with the client number.
      E.g.,  0001/APPS/UC0/AUTOMATED_TESTS/TEST1
    2. FolderTree.getFolder expects path names without the leading client number.
      E.g.,  /APPS/UC0/AUTOMATED_TESTS/TEST1

     

    As far as I know, SearchObject is not capable of searching across clients, so I do not know why it requires the client number to be included.