Hexagon Geospatial
MENU

GeoMedia Smart Client

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Reply
Regular Contributor
Posts: 246
Registered: ‎10-26-2015

Form validation error - GMSC 2016 Workflow

I have created a basic workflow using the GMSC 2016 workflow editor but I get the following validation error in the workflow log file when launching the workflow using an action. Is there no validation formatting available in the new workflow editor like there was in the previous editor?

 

28.09.2016 21:12:27 ERROR - Controller List has raised an exception in Action Index.
Intergraph.Emea.Workflows.FormValidationException: The requested form has some validation errors.
at Intergraph.Emea.Workflows.XmlDescriptionProvider.DeserializeFormXml(XDocument formListDocument)
at Intergraph.Emea.SmartClient.Workflows.SmartClientXmlDescriptionProvider.LoadFormXml(String workflow)
at Intergraph.Emea.Workflows.XmlDescriptionProvider.GetFormDescription(String name, String workflow)
at Intergraph.Emea.Workflows.ListController.Initialize(RequestContext requestContext)
at System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state)
at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__4(AsyncCallback asyncCallback, Object asyncState, ProcessRequestState innerState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback callback, Object callbackState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout)
at System.Web.Mvc.Async.AsyncResultWrapper.Begin[TState](AsyncCallback callback, Object callbackState, BeginInvokeDelegate`1 beginDelegate, EndInvokeVoidDelegate`1 endDelegate, TState invokeState, Object tag, Int32 timeout, SynchronizationContext callbackSyncContext)
at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

I came across the following post with the same error but I can't identify the same issue in my workflow forms.

 

http://community.hexagongeospatial.com/t5/Support-GeoMedia-Smart-Client/Controller-List-has-raised-a...

 

Workflow Settings

<?xml version="1.0"?>
<WorkflowRoot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<WorkflowNode id="1000" label="Opportunites" controller="Workflow" follownode="1001">
<WorkflowNode id="1001" label="Opportunity List" controller="List" form="OpList" follownode="1002">
<WorkflowNode id="1002" label="Opportunity Detail" controller="Form" form="OpForm1" emptyform="false" />
</WorkflowNode>
</WorkflowNode>
</WorkflowRoot>

 

Form Settings

<?xml version="1.0"?>
<FormList xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Form name="OpList" editable="true" idfield="POLYGON_SEQ_ID" table="VW_USER_OPS" pagesize="20" isfilterareaopen="false">
<FormTab name="NewTabPage80" label="" template="" editable="true" visible="true">
<FormGroup name="NewGroup80" label="" template="" editable="true" visible="true">
<FormField name="POLYGON_SEQ_ID" template="" editable="true" visible="hidden" datatype="string" defaultvalue="" lov="" required="true" persisted="true" saveinsession="false" type="textfield" validation="" />
<FormField name="NAME" label="Opportunity Name" template="" editable="true" visible="list" datatype="string" defaultvalue="" lov="" required="true" persisted="true" saveinsession="false" type="textfield" validation="" />
<FormField name="STATUS" label="Status" template="" editable="true" visible="list" datatype="string" defaultvalue="" lov="" required="true" persisted="true" saveinsession="false" type="textfield" validation="" />
<FormField name="OWNER" label="Owner" template="" editable="true" visible="list" datatype="number" defaultvalue="" lov="" required="true" persisted="true" saveinsession="false" type="textfield" validation="" />
</FormGroup>
</FormTab>
</Form>
<Form name="OpForm1" editable="true" table="VW_USER_OPS">
<FormGeometry>
<NewActions />
<EditActions />
</FormGeometry>
<FormTab name="OpsForm" label="Opportunity Detail" editable="true" visible="true">
<FormGroup name="NewGroup1" editable="true" visible="true">
<FormField name="OpName" label="Name" editable="true" visible="true" datatype="string" required="true" persisted="true" saveinsession="false" type="textfield" />
</FormGroup>
</FormTab>
</Form>
</FormList>

Staff
Posts: 1,036
Registered: ‎10-18-2015

Re: Form validation error - GMSC 2016 Workflow

Hi Colin,

 

please try removing empty properties like template="" or label="" and try reloading it.

 

Thanks,

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Regular Contributor
Posts: 246
Registered: ‎10-26-2015

Re: Form validation error - GMSC 2016 Workflow

Stefano,

I remove all properties like template="" or label="" so FormSettings looks like:

 

<?xml version="1.0"?>
<FormList xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Form name="OpList" editable="true" idfield="POLYGON_SEQ_ID" table="VW_USER_OPS" pagesize="20" isfilterareaopen="false">
<FormTab name="NewTabPage80" editable="true" visible="true">
<FormGroup name="NewGroup80" editable="true" visible="true">
<FormField name="POLYGON_SEQ_ID" editable="true" visible="hidden" datatype="string" defaultvalue="" lov="" required="true" persisted="true" saveinsession="false" type="textfield" validation="" />
<FormField name="NAME" label="Opportunity Name" editable="true" visible="list" datatype="string" defaultvalue="" lov="" required="true" persisted="true" saveinsession="false" type="textfield" validation="" />
<FormField name="STATUS" label="Status" editable="true" visible="list" datatype="string" defaultvalue="" lov="" required="true" persisted="true" saveinsession="false" type="textfield" validation="" />
<FormField name="OWNER" label="Owner" editable="true" visible="list" datatype="number" defaultvalue="" lov="" required="true" persisted="true" saveinsession="false" type="textfield" validation="" />
</FormGroup>
</FormTab>
</Form>
<Form name="OpForm1" editable="true" table="VW_USER_OPS">
<FormTab name="OpsForm" label="Opportunity Detail" editable="true" visible="true">
<FormGroup name="NewGroup1" editable="true" visible="true">
<FormField name="OpName" label="Name" editable="true" visible="true" datatype="string" required="true" persisted="true" saveinsession="false" type="textfield" />
</FormGroup>
</FormTab>
</Form>
</FormList>

 

I still get the same error as before in Workflow.log.

 

 

Staff
Posts: 1,036
Registered: ‎10-18-2015

Re: Form validation error - GMSC 2016 Workflow

sorry, I didn't notice there are other ones. Please remove all empty properties, defaultvalue, lov and so on. The problem is with the list controller, there are some offending settings. Please try removing each property until you can display it. Looks like a bug, but we should identify where the problem lies.

 

thanks,

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Moderator
Posts: 255
Registered: ‎02-08-2016

Re: Form validation error - GMSC 2016 Workflow

Hello All.

 

There is defect logged against the new workflow editor and list forms.

CR Defect 1-QLEFZC WF GUI generates some null values in List Form eg label="", template="", defaultvalue="" lov=""

 

Only work around currently is to manually remove them.

 

 

Regular Contributor
Posts: 246
Registered: ‎10-26-2015

Re: Form validation error - GMSC 2016 Workflow

 

Marc - Can you confirm whether that CR Defect has been escalated yet by a customer for a hot fix? This defect has a high impact on the ability to create workflows quickly.

Highlighted
Moderator
Posts: 255
Registered: ‎02-08-2016

Re: Form validation error - GMSC 2016 Workflow

Hi Colin.

 

There has been no requests for escalation and it would't qualify for crises as there is a work around available.

I assume it will be resolved in the upcoming EP01 as development is aware of the issue and understands it needs to be resolved.

 

Thanks,

Marc

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.