Solved

Calling a procedure when closing an application?

  • 18 January 2019
  • 5 replies
  • 177 views

Userlevel 1
Badge +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?
icon

Best answer by Anne Buit 31 January 2019, 12:39

View original

5 replies

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.
Userlevel 1
Badge +3
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:

Userlevel 5
Badge +11
@Diederik van Duuren did Eric forget something or is it good?
Userlevel 7
Badge +5
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?
Userlevel 5
Badge +5
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.

Reply