Skip to main content
ajk0002
May 18, 2023
Question

Document Migration from target environment to source environment

  • May 18, 2023
  • 2 replies
  • 0 views

Hi All,

Requirement:

                    I have a use case where I have to get documents from target environment to source environment.

Information:

                    I have list of appian documents id in my source environment database.

Approach:

->  I have developed a web api in target environment , it will return document based on appian document id.

-> I have designed a process model , In which I am getting appian documents id from table and calling target webapi using integration object.

It was working fine and getting documents as i expected.

Inputs required :

Which way is better among below two approaches.

1) Getting appian documents id's as a batches ,using MNI  and pass it to sub process having integration call logic 

2) Looping approach .

I don't have enough information about number of appian documents id's to process , Please share your thoughts 

Thanks 

Aj

2 replies

stefanhelzle0001
Brainy
May 18, 2023

Fetching the documents sequentially using a loop in a process reduces the load on both systems. If there is no need to fetch multiple documents at the same time, I would do it that way.

ajk0002
ajk0002Author
May 18, 2023

[mention:126a676c85024855948336691b0a7b92:e9ed411860ed4f2ba0265705b8793d05]

Thanks for your response, I will use looping concept to fetch documents.