Support Portal

for ProcessRobot and WinAutomation

Start a new topic

One time message only on 1st execution


The attached Process displays a message to the user only on its first execution.

In order to achieve the above, we should use a persistent variable as a switch (meaning it only has 2 possible values).

1. Goto Tools > Variables Manager, create the persistent variable %FirstTime% with initial value Y.

2. In job:
If %FirstTime% = Y
Display message to the user
Set %FirstTime% = N
End If

Go on with the script...

Login or Signup to post a comment