wrike: flow execution logic