This error come into workflow process when an external user submit any application for workflow and that workflow have some expression, on that time system call SysWorkflowExpression.buildRuntimeReservedTokenDataSource() which check user's party ID by calling SysWorkflowHelper::getDirPartyIdFromUserId(_sysWorkflowTable.Originator);
To avoid this problem we have to check workflow Originator and if that is 'Guest' then we have to bypass above code.