Hi!
We want to write an agent to start multiple LEI (Lotus Enterprise Integrator) activities in sequence.
Activity n+1 must not be started before activity n has finished.
So we wrote an agent, who sets RunASAP=1 for the first activity and then monitors within a loop, if RunASAP is set back to 0 (i.e. it was executed by the LEI server process) to start the next activity and so on.
Problem is: the agent does not notice the fieldchange within the loop. That means: LEI executes the first activity, resets RunASAP to 0, but within the agent the field still shows value 1.
We refresh the view within the loop, but this doesnt matter.
How can i accomplish a view refresh within notes script so that the valuechange can be seen?
We want to write an agent to start multiple LEI (Lotus Enterprise Integrator) activities in sequence.
Activity n+1 must not be started before activity n has finished.
So we wrote an agent, who sets RunASAP=1 for the first activity and then monitors within a loop, if RunASAP is set back to 0 (i.e. it was executed by the LEI server process) to start the next activity and so on.
Problem is: the agent does not notice the fieldchange within the loop. That means: LEI executes the first activity, resets RunASAP to 0, but within the agent the field still shows value 1.
We refresh the view within the loop, but this doesnt matter.
How can i accomplish a view refresh within notes script so that the valuechange can be seen?