Zum Hauptinhalt gehen

"You do not have permission to open this workflow." Error when running workflow

Kommentare

9 Kommentare

  • Nico Burgerhart

    As far as I know workflows can only be secured through ArcGIS-based authentication methods.

     

    I'm not sure this

    https://communities.geocortex.com/s/article/Install-the-Geocortex-Web-Adaptor-Extensions

    is suitable to your case?

    0
  • Ethan Granger

    I do not have a portal, so i don't think so. Does having a portal allow me bypass AGOL identities?

    0
  • Zack Robison

    You can run WF5s from your server by exporting them to your server; this would use your server authentication for access, so if you put a WF5 in the same sort of locations that you put your Essentials Workflows (presumably somewhere in the "sites" folder) then you could basically stick with what you know.

     

    As for access to secured AGOL items in GVH, I haven't needed to figure it out yet. I'm sure that there is a way but it may not be entirely straightforward.

    0
  • Ethan Granger

    Exporting from WF5 designer, gets me a .json file. All older Essentials Workflow files are .xaml files and you cannot add a workflow from a .json file in Essentials Manager.

     

    Is there another way to do this?

    0
  • Zack Robison

    You can't add them as essentials workflows. You need to call them using the RunWorkflowByUrl commands.

    0
  • Ethan Granger

    I don't understand. If I put the exported json on my server, then it won't have a URL, so how can i run by URL?

    0
  • Zack Robison

    Isn't your Essentials Site on your server? If you can hit the site, then you can hit the server.

    0
  • Ethan Granger

    Essentials is on my server, with on-prem WF5. I must be missing something.

    I see 3 ways of adding a workflow to an essentials site.

    From Essentials manager...

    1) Site > Workflows - This lets you browse the local file system, but only allows xaml files.

    2) Viewer > I Want to Menu and "Add Menu Item" - This lets you choose RunWorkflowByURL, but what URL will access a file in the sites directory? The URL shown in the designer is to AGOL, even though the workflow was created with an on-premise install.

    3) Viewer > Workflow 5 and "Add Startup Workflow" which also needs a URL.

     

    It seems I need to get the .json file web accessible (and still be secured) or authenticate against AGOL (not feasible for non-GIS staff) or install Portal and hope that will allow Domain authentication and make my workflow accessible with from a URL. Do i have this correct?

    0
  • Zack Robison

    Option 1 is for Essentials Workflows only (.Net WPF).

     

    Options 2 and 3: I recommend placing json in an app's virtualdirectory, which will be registered with your server (iis probably). Just be careful not to overwrite your workflows when upgrading.

     

    Also, those viewer commands can be accessed from more locations. You can put them in your feature descriptions, in your toolbar, in context menus, or run them from an essentials workflow.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.