before workflow starts