Hi,
I have a problem with my flow logic.
I have a BSP application with 1 button 'Start' and a button 'Refresh'.
In <i>OnIntialization</i>, I checked that a specific processing is not running.
In <i>OnInputProcessing</i>, I launch the processing I mentionned above.
The problem occurs when several people are working simultaneously :
1) user A launches the BSP application
2) user B launches the BSP application
3) user B clicks on the 'Start' button, trigerring the processing
4) user A clicks on the 'Start' button
==> he should be blocked! But, as the control is only done in OnInitialization, the process is launched, resulting in a crash...
<b>Am I completely wrong in the way I handled the logic flow ?</b>
Ideally, I would like to check once again in OnInputProcessing : the best way would be to call OnInputProcessing...
--> <b>Is this possible to call <i>OnInitialization</i> from <i>OnInputProcessing</i>?</b>
Thanks in advance for your replies!
Cheers,
Guillaume