Decision process for SWF working