In the above test procedure, at first line I am using variable 'Test' which has value '1'. Later, I have changed the value as '2'.
Here, the first writeprocedurelogentry logs as 2 and the last writeprocedurelogentry logs as 1. What I am expecting is, both line should print 2.
I want to use the variable which should have access throughout the agent procedures but the variable shouldn't conflict with other global variable which is used in some other agent procedures. Shall I use the global keyword on each variable front to acess it throught the agent procedure?
Please let me know the best way.
Thanks in advance.