Status property: List class
Description
Use this property to set or return the status of the instance, which determines whether the activity guide is displayed in the Activity Guides - In Progress pagelet. The valid values are:
| Value | Description |
|---|---|
|
CA |
Cancelled |
|
CP |
Complete |
|
IP |
In progress |
This property is read/write.
Example
In the following example, the method sets the activity guide status to complete:
method CompleteStatus
/+ &list_id as String +/
Local PTAI_ACTION_ITEMS:List &ObjList;
&ObjList = create PTAI_ACTION_ITEMS:List();
&ObjList.open(&list_id);
Rem set the status of the template to Complete;
&ObjList.Status = "CP";
&return = &ObjList.save();
end-method;