Hoppa till huvudinnehållet

workflow question or suggestion

Kommentarer

12 kommentarer

  • Permanently deleted user
    Thanks Jeff, I have submitted a feature request to the products team about REST Manager and workflows.   Regards, -Malcolm

     

    0
  • Permanently deleted user
    Malcolm-- I guess I envisioned a site manager being able to design and add workflows, just like a site manager can design and add print templates.  This would greatly increase the use of workflows and the utility and cost effectiveness of essentials product. Jeff

     

     
    0
  • Permanently deleted user
    I second this request it is not that hard to build a workflow but I still have not seen any good documentation on how to plugin work flows either into the flex or silverlight viewers

     

    0
  • Drew Millen
    Hi All,   Thank you for the feedback.  We're certainly eager to hear any input on how we can make our products easier to use.   When using the Workflow Designer, you are creating a workflow file (XAML file type).  This is typically saved on your computer, which may or may not be the same computer as the one hosting the REST Manager web application.  Within REST Manager, once you have opened a site you can add a workflow to the site by clicking on the Workflows tab.  This will guide you through a wizard which prompts you for the location of the Workflow XAML file you saved earlier.  The site needs to find the XAML file on the server, so if it's on your computer you can use the wizard to upload the file to the server first. 

     

    This process mirrors the process used to add Print Templates and Reports (which are also authored using desktop designer tools) to sites.

     

    Perhaps we could simplify this process by allowing the "Add Workflow Wizard" and "Add Print Template Wizard" to allow you to specify the location of workflow files located on your computer, instead of (or as well as) a location on the server.  If it's done this way, we would automatically choose a directory to upload your workflow file to.   With regardts to using a workflow from within a viewer application, we recently released a "Developer Quickstart" application for the Geocortex Viewer for Silverlight.  One of the examples demonstrates how to add a custom tool to the toolbar which starts a workflow that belongs to the site.   Drew.  
    0
  • Permanently deleted user

    Drew,

    I have loaded and tried essentials 3.4 - its getting there!  From what I can tell, you could configure an imported workflow using import workflow to add the workflow, such as hello world, then configure the "i want to menu" by adding a line to execute the workflow,  if you knew the commands.  is this so?  a detailed "workflow for dummies" 2 page step by step just to add and configure the samples would be nice.

    Jeff

     

    0
  • Permanently deleted user

    This is a great idea. We'll look at creating a knowledge base article that describes how to add one of the sample workflows to the Geocortex Viewer for Silverlight.

    0
  • Mike Diss-Torrance

    I am having issues try to run a basic workflow (for the first time).

    I created a workflow, uploaded it, and have it defined in my site.xml config file as such:

        <Workflows>

     

            <Workflow DisplayName="Email Workflow" ID="1" Uri="{RootUri}/Resources/Workflows/WorkflowTest.xaml"/>

     

         </Workflows>

    In my viewer.xml config file, I added an item within the "I want to" module as such:

         <Item Text="Email" Command="RunWorkflowById" ImageUri="/Resources/Images/email.png" CommandParameter="1" Description="Email Workflow" />

    When I run the application and click on the icon, I get a javascript error that says this:

          Unhandled Error in Silverlight Application Value cannot be null.

     

          Parameter name: workflowId   at Geocortex.EssentialsSilverlightViewer.CoreModules.Workflow.WorkflowModule.RunWorkflowById(String workflowId)

    Any ideas?

    P.S. We are running Geocortex Essentials 3.3.1

     

     

    0
  • Permanently deleted user

    What version of the Silverlight viewer are you using?  1.0 or 1.1?  If it's 1.1 then your syntax looks correct.  Also, can you confirm that the workflow is running by hitting its REST endpoint in the Essentials REST API?

    0
  • Mike Diss-Torrance

    We are running the Geocortex viewer for Silverlight Version 1.0.1.

    Forgive my ignorance, but I'm not sure how/where to test if the workflow is running, nor identify it's REST endpoint or what that actually means. I'm sure I'll figure out what all these entities are over the next few days and how they are interrelated. Right now, I image it's of a lack of understanding.

    I can tell you that I created a "send email" workflow and filled in the basic To/From/Subject/Body parameters. From there, I saved the workflow to my PC. I went into the manager and loaded it into my site, under the workflow tab. My version of the manager does not have the "I want to" tab, so I went into the viewer.xml file directly and tweaked one of the entries and referenced this workflow.  At that point, I crossed my fingers... but alas, I got that bug.

    Can you point me to a document/forum that explains how to go from the point of creating the workflow to seeing it show up in the viewer?

    Mike.

    0
  • Mike Diss-Torrance

    Update: I got it to work. I needed to package up the workflow within a "Batch", like this:

      <Item Text="Alert Box 2" ImageUri="/Resources/Images/AddToMap.png" Description="Alert workflow 2">

     

          <Batch>

     

              <BatchItem Command="RunWorkflowById" CommandParameter="3" />

     

          </Batch>

     

         </Item>

     

     

    I'm not sure why this works and the previous didn't.

     

    0
  • Ryan Cooney

    Mike,

    There was a bug in 1.0.1 where the "CommandParameter" attribute of the "Item" element was not honored. By making your Item a batch you are able to work around it. This issue was corrected in the 1.1 release.

    --Ryan

     

     

    0
  • Permanently deleted user

    We have now added (/add-workflow-to-viewer) a knowledge base article about how to add workflows to the Geocortex Viewer for Silverlight.

     

     

    0

Du måste logga in om du vill lämna en kommentar.