Hoppa till huvudinnehållet

Variable from Javascript HTML5 Module to Workflow

Kommentarer

3 kommentarer

  • Permanently deleted user
    Found it:

     

    var app = geocortex.framework.applications[0];

     

    app.commandRegistry.command("RunWorkflowWithArguments").execute({workflowId:'test',ArgInput:'TestVariable'});

     

    test = WorkflowID

     

    ArgInput = Input Argument name in the Test Workflow (in this case, it's a String Argument)
    0
  • Permanently deleted user

    Also, within a Javascript HTML 5 module, you should be able to simply reference the app object by using "this.app" 

    So, this.app.commandRegistry...

     

     
    0
  • Permanently deleted user
    Thanks!
    0

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