remove local variable 'portal_workflow' because is assigned to but never used