Workflow Soluiton

 View Only
  • 1.  Get Current User - No data when published

    Posted Nov 20, 2014 02:12 PM

    When I debug my workflow, the get current user works perfectly, but if I publish it to IIS, it fails to pull any data.

    Any ideas?  It is clearly my IIS setup.  I have the site setup to use Windows Authentication.



  • 2.  RE: Get Current User - No data when published
    Best Answer

    Posted Nov 20, 2014 02:31 PM

    Try setting your "get current user" model up like this:

    2014-11-20_12-25-51.png

    This way it should work in both instances, debug and published.  Also, make sure you have Windows Authentication set up in your workflow's Publishing tab if you want to get HTTP context properly.

    2014-11-20_12-29-20.png



  • 3.  RE: Get Current User - No data when published

    Posted Nov 20, 2014 02:36 PM

    Glad to have (sort of) helped!



  • 4.  RE: Get Current User - No data when published

    Posted Nov 20, 2014 03:34 PM

    You beat me to the post, I solved my own problem by changing the "User Name Type" to Http Context.

     

    Thank you, thank you.  Marked as solution. :)