Removing an activity from a workflow