Normally, a scenario is properly marked as played if it was ended with BIS_fnc_endMission. However, that is not the case with custom showcase missions, except I am doing something wrong.
What conditions have to be met in order for a Showcase mission to be marked as played?