Thank you for your reply Martin and Andrew
I do not have a clear enough understanding of the difference between what Viv referred to as the agent vs the Agentdriver() function, so I have some questions about this;
1. What is the difference between the agent and the AgentDriver() function?
2. As far as I can see there are no agentdriver()in my resourceset. I guess this means that we are using the agent? As you can see from the attachment to my first post, the Agent Driven tick box is ticked.
3. Is using the agentdriver() function a choice that has to be made? If so, what are the advantages/disadvantages?
The reason why I ask is that the project I have problem with, is running smoothly and printing on 4.1.2 today, and there are no agentdriver() function in the MOMStandard C2.0.cml function that we are using.
(The project consists of about 10 different M3printouts /streamserveprojects, that are modified with layouts, scripting and so on based on standard lawson docs.)
I see that in our most recent project (setup by Lawson a month ago) for printing all of our standard unmodified Lawson documents, there is a function called "Lawson V2.2.fcn" that do have the agentdriver()function.
It looks slightly different from the one that you are refering to, Martin, as there are no ".\" in the path to quealias.
$outpath = getsubst("QUEALIAS",$printer,1);
$que = getsubst("QUEALIAS",$printer,0);
But this project also has ticked the "select automatically" and the "agent driven" choices in the runtime event settings.
4. Does this mean that standard Lawson is not using the agentdriver() function.