Removing deleted docs from a process variable

Hi,
Do you have any idea how to remove all of the documents from a process variable that were previously physically deleted?
The deleted documents in the documents process variable (multiple) are shown as random numbers (for e.q. "85385235"...)
Please help me remove them and leave only the documents that are still valid (not deleted). Using Appian functions (not other plugins/smart services) is preferred.
Thank you in advanced...

OriginalPostID-245303

  Discussion posts and replies are publicly visible

Parents
  • I will try that tomorrow, but I think it will not work, because in my case, array1 is in type string (it can be converted into integer) and array2 is in type DOCUMENT (it shows their names and I can not convert it to integer to show document ids, because some of the documents are valid and some already are shown as document numbers because they were previously deleted). I will confirm tomorrow for sure if it works... Thank you anyway... BR
    PS: Those random numbers in array2 are actually the id numbers of the deleted docs
Reply
  • I will try that tomorrow, but I think it will not work, because in my case, array1 is in type string (it can be converted into integer) and array2 is in type DOCUMENT (it shows their names and I can not convert it to integer to show document ids, because some of the documents are valid and some already are shown as document numbers because they were previously deleted). I will confirm tomorrow for sure if it works... Thank you anyway... BR
    PS: Those random numbers in array2 are actually the id numbers of the deleted docs
Children
No Data