You can simply request the name of your activity in a script, and then use the command cleartool setactivity
cleartool sectact -view viewTag -none
cleartool sectact -view viewTag newActivity
ClearCase Project Explorer (UCM GUI) clearprojexp, , " UCM".