I have a agent which uses GothicsDocument variable. The agent is used to create a document in Domdoc.
The below line of code fails during the first run of the agent in a day.
Set retdbdoc = GDoc.AddToBinderEx(binderid$, False)
The agent terminates without any exception or log.
However, after the first failure the following runs are normal and never encounter any issue.
Below are my queries:
1. What is GothicsDocument used for.
2. Can we replace this GothicsDocument variable with a normal "Document" variable
3. Any reason why the function AddToBinderEx might be failing.
Any information is much appreciated. Thanks in advance.