What do you mean? The following lines replace these - first we remove all the actions that should be executed, then for each actionId we fire a trigger event.