fix(engine): handle null values of add comment command

related to #CAM-2167
fix(engine): add task in event subprocess to correct parent execution

related to #CAM-2155