Exportar template desde Qflow 3.6 a Qflow 5.0

,

Hola,

Exporté un template sin sus hijos desde la versión de Qflow 3.6 y lo importé en la versión de Qflow 5.0, dicho template ya existía, solo quería importarlo para actualizar los parámetros. Desde el BPM nada relacionado a ese template ni a sus hijos y desde el sitio tampoco puedo ver los workflows.

El log de error que veo es el siguiente:

Mensaje: Must specify valid information for parsing in the string.

Excepción de tipo ArgumentException fue generada a las 1/2/2024 11:12:57, en la máquina SCVT884URY, AppDomain /LM/W3SVC/4/ROOT/Qflow.Backend.API-1-133512674862390266, Identity , WIdentity qflow_adm_test

Información adicional de la excepción:
System.ArgumentException: Must specify valid information for parsing in the string.
at System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
at Qflow.DataLayer.Templates.CustomFormDataAdapters.CustomFormDataAdapter.<>c.b__18_0(String c)
at System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext() at System.Collections.Generic.List1…ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at Qflow.DataLayer.Templates.CustomFormDataAdapters.CustomFormDataAdapter.ConverStringToCustomFormTypeList(String customFormTypes)
at Qflow.DataLayer.Templates.CustomFormDataAdapters.CustomFormDataAdapter.ReadCustomForm(CustomForm form, IDataReader reader)
at Qflow.DataLayer.Templates.CustomFormDataAdapters.CustomFormDataAdapter.FillImplementation(CustomForm persistibleObject, DataAccessContext context)
at Qflow.DataLayer.Templates.CustomFormDataAdapters.CustomFormDataAdapter.FillAllImplementation(CustomForm persistibleObject, DataAccessContext context)
at Qflow.DataLayer.Templates.CustomFormDataAdapters.CustomFormDataAdapter.GetCustomForms(String customFormsQuery, DataAccessContext context)
at Qflow.DataLayer.Templates.CustomFormDataAdapters.CustomFormDataAdapter.GetCustomForms(PackageBase packageBase, DataAccessContext context)
at Qflow.DataLayer.Templates.PackageDataAdapters.PackageDataAdapter.FillCustomForms(PackageBase packageBase, DataAccessContext context)
at Qflow.DataLayer.Templates.PackageDataAdapters.PackageDataAdapter.FillItems(PackageBase packageBase, DataAccessContext context)
at Qflow.DataLayer.Templates.PackageDataAdapters.PackageDataAdapter.FillAllImplementation(PackageBase persistibleObject, DataAccessContext context)
at Qflow.DataLayer.Templates.TemplateDataAdapters.TemplateDataAdapter.FillAllImplementation(Template persistibleObject, DataAccessContext context)
at Qflow.BackEnd.BusinessActions.Templates.PackageAction.GetPackageTemp(SimplePackageRequestResponse req)
at Qflow.Backend.API.Controllers.BPMController.GetPackageTemp(SimplePackageRequestResponse req)
at lambda_method(Closure , Object , Object )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.b__2(Object instance, Object methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ApiControllerActionInvoker.d__1.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ActionFilterResult.d__5.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.AuthorizationFilterAttribute.d__3.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ExceptionFilterResult.d__6.MoveNext()

Qué puede estar pasando?

Gracias

Hola @neirin,

Si bien nuestra funcionalidad de exportar/importar puede llegar a funcionar entre versiones, solo está soportada para realizarse dentro de la misma versión del producto. Particularmente a partir de la versión 3.6 de Qflow se hicieron cambios en los formularios personalizados para el nuevo sitio MVC que hacen que una importación directa a una versión posterior no sea posible si tenemos de estos elementos. Podes leer mas en la documentación.

Si lo quieren intentar de todas formas, para no perder el resto de los datos del template podrían reespaldar y eliminar los formularios personalizados antes de exportar, y luego de importar reestablecerlos a mano.

Saludos.