Invokes are essentially service calls. Actions can invoke custom code service operations, web service operations, data service operations and Page invocations:
• Custom code operations: Python or PHP service operations that are registered and added to the project.
• Web service operations: Web service calls from any web service that you have registered in the ActiveGrid Studio and added to your project.
• Data Service: You can invoke ActiveGrid’s built-in Data Service (The Data Service) to perform database operations. The available operations are save, commit, rollback, insert, and delete. The Data Service does not require an input or output variable. Do not attempt to call getObject or getObjects from the Data Service. Instead, set a variable and use the database query feature.Note: It is a little tricky to create a custom Action that performs a database search. Instead, insert a Search Action from the menu in the Page Flow Editor and customize the Action it builds for you.
• Page invocations: Calls to invoke another Page in the application. If you want to send data to the Page that you’re invoking, you need to specify an input variable with the Message Type that matches the Page Message of the Page you’re invoking. For Page invocations you do not need to specify an output variable.
• Reply: A Reply returns a populated variable (in XML) to the AJAXFrame from which the Action was launched. A Reply does not takes a variable argument.
ActiveGrid |
ActiveGrid Documentation |
Version 2.0 |