Problem / Solution: Approval Votes are not created for certain users.

Version 1

    Error message:

    Message

    Creating FRS_ApprovalVoteTracking object failed.Unhandled system exception: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> DataLayer.DataObjectFieldValidationException: FRS_ApprovalVoteTracking((newsrvA97DCFB66947474CBF18595BF6B6FEF3)): '{TEAM NAME}' is not in the validation list of validated field FRS_ApprovalVoteTracking.OwnerTeam; FRS_MyItem((newsrv4A3320A48F2D4B7CBBF721CD9F5EB667)): '{TEAM NAME}' is not in the validation list of validated field FRS_MyItem.OwnerTeam. 

     

    Exception
    System.ServiceModel.FaultException: Unhandled system exception: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> DataLayer.DataObjectFieldValidationException: FRS_ApprovalVoteTracking((newsrvA97DCFB66947474CBF18595BF6B6FEF3)): '{TEAM NAME}' is not in the validation list of validated field FRS_ApprovalVoteTracking.OwnerTeam; FRS_MyItem((newsrv4A3320A48F2D4B7CBBF721CD9F5EB667)): '{TEAM NAME}' is not in the validation list of validated field FRS_MyItem.OwnerTeam. Server stack trace: at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at com.frontrange.saas.ws.data.IPCMServiceSoap.CreateObject(String sessionKey, String tenantId, ObjectCommandData commandData) at com.frontrange.Services.IPCMServiceClientImpl.<>c__DisplayClass5_0.b__0(String s) at com.frontrange.Services.ClientServiceBase.ExecuteWithRetryOnInvalidSession[T](Func`2 function, String sessionKey, String tenantId) at com.frontrange.Services.IPCMServiceClientImpl.CreateObject(String sessionKey, String tenantId, ObjectCommandData commandData) at FrontRange.Workflow.Block.Vote0007.Vote0007.CreateFRSApprovalVoteTracking_Common(DateTime dueDate, String FRSApprovalId, Dictionary`2 approvers, String approvalStatus)

     

    Problem:

    Approval Votes are not created for certain users.

     

    Cause:

    This can be caused by a variety of situations, however, if the logs show the error above it is because the user for whom the Vote record should be created does not have a valid default team.  This might happen if a team is renamed or removed from the system.

     

    Solution / Workaround:

    Edit the Employee record to have a valid primary team.  OOTB this is seen on the details tab in a drop-down labelled "Team".