-
Liron Sabag
- PowerBuilder
- Wednesday, 18 March 2026 08:26 AM UTC
Hello,
In C# we are using PowerBuilder.RegisteredObject.TriggerEvent to call a PB event from C#.
The flow works fine in most cases.
However, when trying to call TriggerEvent while another TriggerEvent is still running, the second calls "hangs" the software.
For example, say I useed TriggerEvent to call some event in PB, and, while it is still running some event got triggered in c# side that caused another call to TriggerEvent (before the first call returned), that second call will not work.
While this simple case can be solved by using a lock, in some cases the second call is needed in order to complete the first call.
Is this by design, meaning two concurrent calls are not supported, or is it an implementation issue on our side?
Regards and thanks in advance.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.