...

Ошибка создания документа в тихом режиме

Тема в разделе "Проблемы/ошибки", создана пользователем gkv, 10 апр 2019.

  1. gkv

    gkv New Member

    В процессе используется создание документа в тихом режиме. При дебаге получаю ошибку:

    ERROR 2019-04-10 21:32:41,861 [34] EleWise.ELMA.Logging.Logger - Workflow unhandled exception. Activity: Создание документа
    EleWise.ELMA.Model.Metadata.MetadataException: Не найдено свойство с Uid="00000000-0000-0000-0000-000000000000" в метаданных типа "EleWise.ELMA.Model.Entities.ProcessContext.P_IncomingContractBP"
    at EleWise.ELMA.Model.Entities.Entity`1.GetPropertyMetadata(Guid propertyUid)
    at EleWise.ELMA.Model.Entities.Entity`1.GetPropertyInfo(Guid propertyUid)
    at EleWise.ELMA.Model.Entities.Entity`1.GetPropertyValue(Guid propertyUid)
    at EleWise.ELMA.Documents.BPMN.Diagrams.Activities.EditDocumentActivity.MiZqD0MVWUko4c6yxK6(Object , Guid )
    at EleWise.ELMA.Documents.BPMN.Diagrams.Activities.EditDocumentActivity.GetFile(IWorkflowInstance instance, Guid propertyUid)
    at EleWise.ELMA.Documents.BPMN.Diagrams.Activities.CreateDocumentActivity.cYId28mQlWsiY9v0OLt(Object , Guid propertyUid)
    at EleWise.ELMA.Documents.BPMN.Diagrams.Activities.CreateDocumentActivity.ExecuteTask(NativeActivityContext context)
    at EleWise.ELMA.Workflow.BPMN.Diagrams.Activities.Tasks.TaskActivity`1.Execute(NativeActivityContext context)
    at System.Activities.NativeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
    at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    ERROR 2019-04-10 21:32:41,861 [34] EleWise.ELMA.Logging.Logger - Cannot execute workflow queue item #1274
    System.InvalidOperationException: Не удалось возобновить или запустить экземпляр процесса ---> EleWise.ELMA.Model.Metadata.MetadataException: Не найдено свойство с Uid="00000000-0000-0000-0000-000000000000" в метаданных типа "EleWise.ELMA.Model.Entities.ProcessContext.P_IncomingContractBP"
    at EleWise.ELMA.Model.Entities.Entity`1.GetPropertyMetadata(Guid propertyUid)
    at EleWise.ELMA.Model.Entities.Entity`1.GetPropertyInfo(Guid propertyUid)
    at EleWise.ELMA.Model.Entities.Entity`1.GetPropertyValue(Guid propertyUid)
    at EleWise.ELMA.Documents.BPMN.Diagrams.Activities.EditDocumentActivity.MiZqD0MVWUko4c6yxK6(Object , Guid )
    at EleWise.ELMA.Documents.BPMN.Diagrams.Activities.EditDocumentActivity.GetFile(IWorkflowInstance instance, Guid propertyUid)
    at EleWise.ELMA.Documents.BPMN.Diagrams.Activities.CreateDocumentActivity.cYId28mQlWsiY9v0OLt(Object , Guid propertyUid)
    at EleWise.ELMA.Documents.BPMN.Diagrams.Activities.CreateDocumentActivity.ExecuteTask(NativeActivityContext context)
    at EleWise.ELMA.Workflow.BPMN.Diagrams.Activities.Tasks.TaskActivity`1.Execute(NativeActivityContext context)
    at System.Activities.NativeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
    at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    --- End of inner exception stack trace ---
    at EleWise.ELMA.Workflow.Services.WorkflowExecutingContext.CheckTerminationException()
    at EleWise.ELMA.Threading.QueueSynchronizationContext.TLXUtwAi7g9uxOpS5d7M(Object )
    at EleWise.ELMA.Threading.QueueSynchronizationContext.ExecuteQueue()
    at EleWise.ELMA.Workflow.Services.WorkflowExecutingContext.<>c__DisplayClass4.NaZQ0mTNTvFW2qOaqr46(Object )
    at EleWise.ELMA.Workflow.Services.WorkflowExecutingContext.<>c__DisplayClass4.<ResumeBookmark>b__3()
    at EleWise.ELMA.Workflow.Services.WorkflowExecutingContext.AV0BByrY8VU4qpKbNTxG(Object )
    at EleWise.ELMA.Workflow.Services.WorkflowExecutingContext.ExecuteQueue()
    at EleWise.ELMA.Workflow.Services.WorkflowExecutingContext.EnqueueAction(Action action)
    at EleWise.ELMA.Workflow.Services.WorkflowExecutingContext.ResumeBookmark(String bookmarkName, Object value)
    at EleWise.ELMA.Workflow.Services.WorkflowExecutingContext.ResumeBookmark(Guid bookmarkUid, Object value)
    at EleWise.ELMA.Workflow.Services.WorkflowRuntimeService.ISIYYTrlWw2Qn2o7W9I8(Object , Guid bookmarkUid, Object )
    at EleWise.ELMA.Workflow.Services.WorkflowRuntimeService.ExecuteQueueItemInternal(IWorkflowQueueItem queueItem)
    at Castle.DynamicProxy.AbstractInvocation.Proceed()
    at EleWise.ELMA.Diagnostics.DiagnosticsManager.StartCall[TCallInfo](Func`1 callInfoCreator, Action action)
    at EleWise.ELMA.Runtime.NH.DiagnosticsInterceptor.Intercept(IInvocation invocation)
    at Castle.DynamicProxy.AbstractInvocation.Proceed()
    at EleWise.ELMA.Runtime.NH.TransactionInterceptor.Ind2HRAzwESZwyTrEiMv(Object )
    at EleWise.ELMA.Runtime.NH.TransactionInterceptor.Intercept(IInvocation invocation)
    at Castle.DynamicProxy.AbstractInvocation.Proceed()
    at EleWise.ELMA.Workflow.Services.WorkflowQueueService.<>c__DisplayClass17.<>c__DisplayClass1b.<>c__DisplayClass1d.q2OxYirARTpFW333U5aZ(Object , Object )
    at EleWise.ELMA.Workflow.Services.WorkflowQueueService.<>c__DisplayClass17.<>c__DisplayClass1b.<>c__DisplayClass1d.<ProcessItemInternal>b__15()
    at EleWise.ELMA.Security.SecurityService.Y7XU1yOdPNloeHIjsGc(Object )
    at EleWise.ELMA.Security.SecurityService.RunByUser(IUser user, Action action)
    at EleWise.ELMA.Workflow.Services.WorkflowQueueService.<>c__DisplayClass17.<>c__DisplayClass1b.YLGdUirAvSlDmr8I66Jc(Object , Object , Object )
    at EleWise.ELMA.Workflow.Services.WorkflowQueueService.<>c__DisplayClass17.<>c__DisplayClass1b.<ProcessItemInternal>b__14()
     
  2. Алекс

    Алекс Member


    Приложите скриншоты настроек данной операции (вкладки "Общие", "Документы" и "Привязка атрибутов документа")
     
  3. pushkarev

    pushkarev Active Member

    Возможно проблема, в том что после добавления свойств в документ и его публикации, не была выполнена перезагрузка системы.
     

Поделиться: