Open doc in edit mode

Hi , I am having an agent that will create set of documents , after create a set of documents, i am opening the first document in edit mode , in the document i have action button after user click the action button it is doing some process , after that the habdle has go to my main agent then next document should open in edit mode, how to do it,

if i put into loop like

for i = 1 to collection

doc.edit mode = true

next

it is not solving my problem, after opening all the document in edit mode , my agent is doing further process.

how to solve my problem pls sugegst me

thanks

Subject: open doc in edit mode

Agent doesn’t stop execution this way and control only resumes if agent is expecting some input from user action like in lotus script you open a dialog window and it return some string etc. But if this is not the case, it will keep going.

You need to think about some other appraoch to solve your problem.

One solution could be that create a single document in agent and after completing your processing on it…use some button to create second document and this way you can manage. But I am not sure what is your exact requirement.