...
A system action is simply an action sequence that is configured to run either at system start time (i.e. when the application server starts) or session start time (i.e. when the user logs in). The output of a system action is available to other action sequences as input parameters. System actions are configured by adding the appropriate child elements to the <system-action>
element in the pentaho.xml file.
------------------------- - what to do with this junk? -------------
Info | ||
---|---|---|
| ||
TODO |
...
Info | ||
---|---|---|
| ||
Let's break it down a bit using the previous examples.
|
...
Now you know how to configure a system action, but what might a system action look like that will assist in filtering data?controlling access to data?
Developing an Action Sequence to Run As a System Action
Info | ||
---|---|---|
| ||
This code was developed with the Pentaho |
...
Preconfigured Install, using the SampleData database that comes with the |
...
Preconfigured Install. |
...
In this example we'll develop an action sequence to generate an HTML report containing financial data for the current user's region. This suggests that when the user logs in, we need to identify the user's region, and store this information someplace that we can user later in our action sequence.
To identify the user's region, let's create a new action sequence in Eclipse using the action sequence editor.
...