Our Context Manager also mediates context actions via its context action interface enabling applications to request and execute actions within a given context. An example could be one application asking another to navigate to a specific view maintaining the overall context.
Context Actions are a mechanism by which applications may perform actions initiated by other applications operating within the same context. It can be compared to RPC but with the added benefits of occurring with the same security-guaranties and with the complete context of all particpating applications available.
Context actions are thus always executed within the scope of a context and can only occur when the context itself is stable (no ongoing transactions).
The normal flow of executing a context action is as follows:
Context Participant (application #1) requests action A be executed.
Context Manager finds Action Agent (application #2) which is able to execute the action.
Context Manager requests Action Agent to execute action A.
Action agent executes the action (this can involve user interation).
Action agent returns result to Context Manager which in turn forwards it to the initiating partipant (application #1).