Skip to main content
Solved

GUI aborts a transaction when a tsf_send_message is shown


K.Bakkenes
Captain
Forum|alt.badge.img+9
We have a form with 'Auto-save form' set to ON. This means when we change a specific column and click on a different document the form will be saved.
However, a trigger behind our table executes a tsf_send_message with 'abort' = 0. This message only serves as an info message. We expected that the trigger would continue and the record would be saved.
But somehow the tsf_send_message results in a GUI message saying 'The transaction is cancelled'.


Followed by:



When we set the tsf_send_message to 'abort' = 1 we get a 'Transaction ended in the trigger' error. This is how I expected it to be.

In both cases the record that triggers the messages is not saved.
If I remove the 'tsf_send_message' from the trigger the record is saved and the trigger is executed correctly.

What's going on? 🤔

Best answer by Anne Buit

Errors like this are not supposed to occur. Please create a ticket so the development team can investigate the problem more in-depth.
View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

4 replies

Robbert van Tongeren
Thinkwise blogger
What are the settings of the message within the SF? (Which severity?)

K.Bakkenes
Captain
Forum|alt.badge.img+9
  • Author
  • Captain
  • 41 replies
  • August 8, 2019
Hi Robbert,

the message is set to 'Information'.

Anne Buit
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 637 replies
  • Answer
  • August 12, 2019
Errors like this are not supposed to occur. Please create a ticket so the development team can investigate the problem more in-depth.

K.Bakkenes
Captain
Forum|alt.badge.img+9
  • Author
  • Captain
  • 41 replies
  • August 12, 2019
Thanks for your reply Anne. I've created a TCP issue: 70488

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings