Geoprocessing Tasks
I am in the process of creating several simple geoprocessing tasks that I would like to integrate into a Geocortex Site and I was wondering if this would be possible through a workflow.
Specially, I am building a task that will let a user select a park from a dropdown list of parks and select one of three file types from a list and enter their e-mail. The geoprocessing task will then query and select the specified park features from an SDE, feature class, export them to the file type the user specified and send the data as a ZIP file attachment to the user.
My question concerns whether or not it is possible to expose the input arguments of this geoprocessing task in a workflow? It would be simple enough to design a form to collect the park, file type and e-mail from a user, but how do I then pass those arguments to my geoprocessing task? Is there a built in command that does this or would I have to create a custom activity? Are there any examples of custom activities people have built to run geoprocessing tasks in workflow out there?
Any help or guidance would be greatly appreciated.
Cheers,
Benjamin Zank
-
Just to clarify -- you have an already built geoprocessing task that does all these steps and you want to hook workflow up to it? I'm afraid this is not possible at the present time, although it does sound like everything you want to do can be implemented in workflow.
Workflow can query based on user input, and it can pass the selection to a report, which can be generated in a number of formats, and will be sent directly to the user when done. The only things missing are zipping up the report, and emailing it. You can send an email, but unfortunately it cannot include the report as an attachment.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar