Save Document into New Folder from Integration Result

Hi all,

I have an integration that returns documents, and I am looking to have the document saved into a new folder that is created for each document. I am running into this error: 

I'd appreciate any advice or thoughts. Would this be better fit for a PM, if so, what would be the recommended path of approaching this?

Thank you in advanced!

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    In the 'Save Document In' expression box the expression should return a folder object. Currently you are doing a!save() which returns a reaction tree instead of a folder. As a!createFolder() can be executed within saveInto or WebAPI only you should use a process model for your use case. a!createFolder() won't execute properly here. 
    In the PM create a folder and then move your doc in it. For this integration use a temporary folder to store the document in. 

Reply
  • 0
    Certified Lead Developer

    In the 'Save Document In' expression box the expression should return a folder object. Currently you are doing a!save() which returns a reaction tree instead of a folder. As a!createFolder() can be executed within saveInto or WebAPI only you should use a process model for your use case. a!createFolder() won't execute properly here. 
    In the PM create a folder and then move your doc in it. For this integration use a temporary folder to store the document in. 

Children
No Data