CMIS Question - We are trying to use the CMIS functions to copy documents from F

CMIS Question - We are trying to use the CMIS functions to copy documents from Filenet to an Appian doc store. The flow is like this -
-->The user searches for documents by keying in some search parameters
--> One or more documents are returned from the query
-->User selects one or more documents and then clicks download
At this point the CMIS function a!cmiCopyDocumentToAppianFolder() is invoked within the context of an apply function. The function returns a Writer object. What is its use? Can it be used to get the document Id of the newly created document(copied from filenet) in Appian?...

OriginalPostID-128580

OriginalPostID-128580

  Discussion posts and replies are publicly visible

Parents
  • Hi, As a!cmiCopyDocumentToAppianFolder() returns a Writer so it must be used in conjunction to bind() function. That means whenever the variable bound to the bind() function is 'Saved into' in a SAIL code, then a!cmiCopyDocumentToAppianFolder() function will be executed and the specified document object is moved form target system to the specified folder in Appian. But not sure how to get exact document id of the moved document. The only option I can see is to search with in the specified folder.
Reply
  • Hi, As a!cmiCopyDocumentToAppianFolder() returns a Writer so it must be used in conjunction to bind() function. That means whenever the variable bound to the bind() function is 'Saved into' in a SAIL code, then a!cmiCopyDocumentToAppianFolder() function will be executed and the specified document object is moved form target system to the specified folder in Appian. But not sure how to get exact document id of the moved document. The only option I can see is to search with in the specified folder.
Children
No Data