UUID of Document

Hi Experts

I want to fetch UUID of document,

Is there any function or way to extract UUID of document.

Please provide solution, if any

Thanks in advance

  Discussion posts and replies are publicly visible

Parents Reply Children
  •  , I migrated the documents from legacy to cloud, In first time PM fails, so few files migrated and few were not.

    later: we fix the PM and migrated all the files.

    current scenario: We need to delete those extra files which were first migrated , now they are extra and consuming memory, we need to delete them.

    Now: When we create a request , a folder corresponding to that request created,

    When I migrated files from legacy, those files get stored in these folders accordingly

    Solution: step 1: First of all I want to know which document is extra in which folder and to validate it and present to client I created an excel which have 2 columns (request id and document id).

    step 2: By reading the same excel I get the document id, by using that document ID I'm moving the document to a temporary folder so it won't get delete directly (safe side).

    step 3: validating all the files moved in temporary folder.

    step 4: If validation proves that these files are extra then we are deleting the folder which includes all the extra files.

    Point of blunder: on manual validation If we fail to validate correctly then a correct document will be delete, So in order to have a backup I propose the solution in above reply.

  • 0
    Certified Lead Developer
    in reply to harshw0876

    So you're neck-deep in a mess and trying to salvage the situation. Understood.

    May I ask how you did this migration? Appian provides a service to fully migrate on-prem to cloud without loosing anything.

  •   , I created PM for each table where I'm fetching the data in a batch of 500 and soring them in cloud DB,

    For documents, first it's table data migrated (as mentioned above), later migration of the documents started.

    Documents stored as a base64 string , So on cloud we decrypt base 64 string and update the document ID of the generated document in Cloud DB.

    I was not aware about any service to fully migrate on-prem to cloud without loosing anything, but please tell me the process and steps how to achieve this

    And I think you get the solution or safe side I proposed above.

    Thank you in advance

  • 0
    Certified Lead Developer
    in reply to harshw0876

    For migration, I suggest to contact Appian support or your Appian representative.