Skip to main content
Solved

Calling a procedure when closing an application?

  • January 18, 2019
  • 5 replies
  • 183 views

Eric Franken
Vanguard
Forum|alt.badge.img+3
When a user leaves the application, I want to add a record in the database. I thought a possible solution might be to create some functionality that calls a procedure when a user exits the application.

Is that possible or is there another solution for this?

Best answer by Anne Buit

The extended property does seem to be configured correctly. However, I'm fairly certain this property only works when using IAM as meta, not SF.

Can you try to sync the model to IAM and see if it works when you boot and quit the GUI on IAM?
View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

5 replies

Diederik van Duuren
Apprentice
Hello Eric,

This is possible by adding as shutdown procedure to the extensive properties.
Parameter: ‘ShutdownProcedure’, the value which you add is the name of the procedure you want to execute.
You should test if this also works for web applications.
I’d like to hear whether this fixed your problem.

Eric Franken
Vanguard
Forum|alt.badge.img+3
  • Author
  • Vanguard
  • 16 replies
  • January 18, 2019
Thanks for your response. I’ve configured some things, yet it’s not working. Am I forgetting something?
See the printscreens below:

Stored procedure:



Subroutine:



Configuration:


Moller Toma
Captain
Forum|alt.badge.img+11
  • Captain
  • 41 replies
  • January 30, 2019
@Diederik van Duuren did Eric forget something or is it good?

Anne Buit
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 653 replies
  • Answer
  • January 31, 2019
The extended property does seem to be configured correctly. However, I'm fairly certain this property only works when using IAM as meta, not SF.

Can you try to sync the model to IAM and see if it works when you boot and quit the GUI on IAM?

Erik Brink
Moderator
Forum|alt.badge.img+5
  • Moderator
  • 497 replies
  • February 26, 2019
I can confirm, this setting should work for both the Windows and Web interfaces when configured well. This setting is related to a specific application from the SFs point of view.

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