The following activites will be applied: - Label - File (Force download/Open/In pop-up) - URL (Open/In pop-up)
Since cm_info::customdata can be of any type, we need to cast it to an array first before checking for custom completion rules. Otherwise, an exception can be thrown (e.g. customdata has been set as an stdClass)
* Base class for defining an activity module's custom completion details