Example of or help a workflow that has a spatial aspect to it
Hello,
I am very new to Workflow designer and I was wondering if someone could point me in the right direction to some help. I am not sure if I am asking the right "question" to get the right answer. Basically I need to create a workflow that allows me to type in an address, search for the parcel and then return some spatial data about that parcel. IE: it needs to return what geogrpahical boundary, such as a ward boundary or garbage pick up area that parcel falls in. So when I type in a parcel address I get the address retunred with the Ward Number and Garbage pick up date. There must be something similar out there that can help me start this, does anyone know? I have found a few sample codes, but they all seems to be buffers around points to retrieve point info. I need to have a point retrieve polygon data. Any help would be greatly appreciated.
Hope this makes sense.
Thanks
LJ
-
Thank you John.
I am going to work on this. I am very new to all of this so it is going to take me awhile. Thank you so much for the help. This is great. I will keep you posted.
I am having an issue with another workflow. It is basically the Search by Schools workflow, but instead of using Zip Codes, I am using Electoral Wards. I have the work flow developed and it looks like it should work. Infact I can get as far as selecting a Ward and retrieving the schools within the ward, but when I click on a school or click on the search button I get this odd error Message. I have attached an image of the error message. I am not sure what to do now. Everything Points to the workflow executing properly until I go to select the schools that appear in the drop down list...or click on search.
I can send you the link to my live site where you can see what I mean. I am also going to post this on the forum.
Thanks for your help.
/customer/servlet/servlet.FileDownload?file=00P6000000elzrlEAA
0 -
The workflow error message is telling you there's something wrong with step 1:33 Assign. What I usually do is rename each of my activities so that I can tell exactly which one it is that breaks. Another good debugging method is to put alerts into your workflow so you can tell that it succeeded up to the points where you put them.
0 -
Hi John,
Thanks for getting back to me. I have isolated the code that I am having an issue with, I just wish i could see what is wrong with it.
this is what I see adn this is where the alert stops me:
<InArgument x:TypeArguments="x:String">["WARD="+Ward.ToString()+"'"]</InArgument>
My variables are as such: (hard to see, but the Ward variable is Object.
I am at a loss! lol!
/customer/servlet/servlet.FileDownload?file=00P6000000em1NPEAY
0 -
Hi LJohnstone
Are you sure that Ward is actually being set to something. Odds are that Ward is actually null and therefore will give issues with the .ToString
You could probably drop the () off the .ToString also.
How are you setting Ward? (Setting as compared to declaring)
John, I agree with the use of the Alerts. Problems arise at times when using that strategy due to Alert being a Client-side activity and there may be variables in scope at the time that the Alert that is used that is not readily serialized on the Server-side such as DataTables. When going from Client-side to Server-side and vice versa all variables must be packaged up for transmission to the 'other side'
Regards
Ralph
PS this thread should probably end here and continue here: https://support.geocortex.com/SupportForums/EditPost.aspx?thread=57662&forumid=20&mid=2&pageid=0&pagenumber=1 since it is effectively the same topic.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare