Try OpenEdge Now
skip to main content
Application Migration and Development Guide
Application Development with PAS for OpenEdge : Programming the Progress Application Server for OpenEdge : Using PAS for OpenEdge event procedures : Activate and Deactivate procedures : Usage requirements
Usage requirements
As described in the previous sections, Activate and Deactivate procedures run only on behalf of session-free or session-managed connections in the unbound state. If a remote procedure request executes over a bound session-managed connection and the connection becomes unbound during execution of this procedure, the Deactivate procedure runs when the request completes with or without error.
Note that both the Activate and Deactivate procedures are optional. There is no requirement to specify either or both of them. Additionally, the content of these procedures is completely application specific, and the PAS for OpenEdge architecture places no constraints on it. Any ABL logic that is valid within a PAS for OpenEdge session that services a client request is valid for these procedures.