Workflow down after converting
I upgraded to 4.15 (latest) and Workflow Designer 4.10 as well as changing servers in the process. I have a mailing label workflow which works fine on the the original version and server but not on the new server/converted workflow and I've been banging my head on this for a couple days with no resolution. I have changed to code in the xaml files to point to the new server which has the same folders, services and directories as the original server.
The code for the workflow originated from an example in the code gallery on an early 2.x or 3.x version which I no longer see. The workflow breaks in the part of the code I used from the code gallery example - during the PARALLEL processing in the BUFFERSEQUENCE execution. In the Assign portion of that PARALLEL processing the message "Unhandeled exception: 'Value cannot be null. Parameter name: source' in activity 1.262: Assign'." appears.
It appears that the bufferResult2.First().Geometry (which is an IList<Graphic> type) has a null value. That comes from the 'ProjectTask' co-process in the Parallel processing control. It appears that maybe the spatial reference is incorrect????? but as I said - its the same code as I was sucessfully using before. ANYONE with ideas????
My entire workflow is here:
(https://support.geocortex.com/Data/Sites/1/userfiles/189/mailinglablesall.xaml) /Data/Sites/1/userfiles/189/mailinglablesall.xaml
-
Follow-up testing information:
If I run the original server and the new server workflows on the simulator under the 2.14.1.85 version of the Workflow designer, I don't get the error.
If I run the new server workflow on the simulator using the exact same data entry items but under the 2.21.0.189 version of the Workflow designer, I then get the error "Unhandled exception: 'Value cannot be null, Parameter name: source' in activity '1.262:Assign'."
0 -
Another Follow-up :
I upgraded my original server to the latest version of Geocortex and Silverlight and received the same error as I did on the new server (then I rolled back to my snapshot on the virtual server so not to kill the functioning workflow).
I also worked with the Workflow Simulator and captured the following when it was processing the PROJECTTASK in the PARALLEL processing area. (see attached).(https://support.geocortex.com/Data/Sites/1/userfiles/189/workflow-error.docx) /Data/Sites/1/userfiles/189/workflow-error.docx Shows in the middle the "EXCEPTION HAS BEEN THROWN" error.
As I stated before, this was a functioning Workflow before upgrading to the newest versions of Geocortex and Silverlight.
ANY HELP IN TROUBLESHOOTING OR RESOLUTION IS APPRECIATED!!!
0 -
Good luck with this error! I had the same thing (as seen by my (https://support.geocortex.com/SupportForums/Thread.aspx?thread=57161&mid=2&pageid=0&ItemID=7&pagenumber=1#post158796) thread ) but I was trying to create a buffer in order to zoom to that extent. I fixed mine by using a do while with a new query and reselecting and not using a buffer anymore. Also those pushpins seem to cause more trouble than they are worth! Try turning them off and see what happens.
0 -
oh and I looked at your workflow, it's too big for me to spend time looking at it BUT why are you reprojecting your buffer in this parrallel process you mention the error occurs? I found that if everything is in the same projection, there is no need to bother with it. I had to actually take those out of the samples just to get it to run on my maps. I am using UTMs. I also have a coordinate tool that buffers the point and the user can use WGS84, and I still dont reproject. I only specify the output spatial reference on that.
0 -
Hello Brian,
I'm having the exact same problem after upgrading. Did you find a work around?
0 -
We are using HTML5 viewer. Found out that in the Proxy.Config file for the HTML5 IIS I needed to specify the correct <serverUrl ......> which allows an outside connection to find it's way inside to the server for the geocoder. I guess the geocoder goes to the outside and then back in to work properly.
Example of what I put in on the proxy.config file:
<serverUrl url="http://www.mydomain.com/arcgis/rest/services/Geocode/mygeocoderservicename/GeocodeServer?f=json"
matchAll="true"></serverUrl>The "Application Settings" button on the top of the manager screen also shows (which I already had there but is needed):
http://www.mydomain.com/Geocortex/Essentials/REST
Hope you get it fixed.
0 -
Thanks.
My ProjectTask and my Assign were in Parallel. I simply put them in Sequence and it ran fine. Not sure why it ran Ok in the previous version.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
7 Kommentare