Solved

Calling a procedure when closing an application?

  • 18 January 2019
  • 5 replies
  • 139 views

Badge
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

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

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