2.1.1 Work With Activities
Using LANSA Composer you can create, maintain, and delete Activity definitions according to your application's needs.
To work with Activities, expand
in the and click . To find out how to locate and select Activities to work with, refer to:Locating and selecting items in the Instance Lists
For information on common tasks associated with Activities (such as creating, copying, deleting and printing definitions) refer to:
For information on tasks associated specifically with Activities, refer to the following headings:
Review or change 2.1.3 Activity Parameters for your activity
Review or change 2.1.4 Activity Groups to which your activity is assigned
Display the Run History of an Activity
Note: You can review the definitions of Activities that are supplied with LANSA Composer, but you cannot change most of the information. You cannot delete supplied Activities.
Note: If you create your own custom Activities, you must also supply an Activity Processor that implements the custom processing. Refer to Develop a Custom Activity Processor for information on developing your own custom Activity Processor.
You can run an existing Activity directly, without having to first create a Processing Sequence containing the Activity.
To do so, select the required item in the Activities list. Details of the selected Activity will be displayed. Click the
button to run the activity. LANSA Composer will display a window like the window in which you can enter the input parameter values for the activity.Refer to Run a Processing Sequence from LANSA Composer.for further information on using the window.
Running an Activity in this way is very much like running a Processing Sequence containing just that Activity. LANSA Composer will automatically log the input and output parameter values in the Processing Sequence log (subject to the logging level currently in effect).
Display the Run History of an Activity
To display available Run History for an Activity, select the required item in the Activities list and select the
tab. A list of processing sequence runs (including direct runs of the Activity) that used the selected Activity will be displayed.Select an item and click the
button to display the Processing Sequence log or the button to print the Processing Sequence log for the run.If a prior Processing Sequence run has ended in error, you may be able to use the Restart a Processing Sequence Run for more information.
button to restart it from the point of failure. Refer toNote: The completeness of the Run History is subject to the logging level that was in force for each run. Only at more detailed levels of logging is the log information sufficient to identify each and every Activity run. In addition, Processing Sequence run history can be purged using the Database Housekeeping function. The run history for Processing Sequence runs that have been purged is no longer available.