Workflow Soluiton

 View Only
  • 1.  Use parameter in Workflow | Servicedesk

    Posted Sep 21, 2015 07:16 AM

    Hello,

    Is it possible to get paramerts from a link into a workflow text field?

    An application is able to open the service desk. This application can open the link from Service desk and is so able to trigger the workflow and open the form for a new issue. Is it here possible to have a parameter in the link which is able to be read from the workflow and copy that parameter into a text field in the web form?

    Thanks for the help

     

    Greets

     

    Turl



  • 2.  RE: Use parameter in Workflow | Servicedesk

    Posted Sep 21, 2015 12:02 PM

    Theres a Get HTTP Request Value component that can probably be used to grab a QueryString value... I'd try that. If that doesn't work it's really easy to write a Script component to do what's needed.



  • 3.  RE: Use parameter in Workflow | Servicedesk

    Posted Sep 23, 2015 06:22 AM

    Hello reecardo,

     

    thank you for your answer. I checked the Get HTTP Request Value component, but there is a variable used to ckeck.

    i don't want to do that i want to give a parameter which is a name and every time an other name.

     

    Greets

     

    Turl



  • 4.  RE: Use parameter in Workflow | Servicedesk

    Posted Sep 25, 2015 10:52 AM

    I thought I understood what you were asking, but your reply to reecardo confused me. Can you give an example or two of what you want?



  • 5.  RE: Use parameter in Workflow | Servicedesk

    Posted Sep 28, 2015 02:48 AM

    Hello michael.george,

     

    Yes I can do that:

    I start the workflow with my Telephonesoftware. The Software is able to open an url. There I have a Textbox, when i enter there the name of an employee  a few fields are filled in an the workflow.

    My question?:

    Is it possible to have a parameter in the link?

    urlfrom the workflow#nameof the employeeasparameter

    Is it than possible that the textbox where i enter the name of the employye that this is filled automatic with the parameter from the link?

     

    Greets

     

    Turl



  • 6.  RE: Use parameter in Workflow | Servicedesk
    Best Answer

    Posted Sep 28, 2015 09:29 AM

    Based on that description, reecardo is absolutely correct and you should have no trouble using the Get HTTP Request Value component. The first field in the component, "Request Variable To Get", should simply contain the name of the variable in the URL. If your URL is going to be "http://server/Workflow/MyForm.aspx?username=george.michael", then you would enter "username" into that field. The second field is simply what you want to refer to that variable as within your workflow. Name it whatever you want and know that in the above case, it would contain the value "michael.george".

    GetHTTPRequestValue.png

    It should be noted that if you were using a anything other than a web forms project, this is probably the best way to do things. If you are doing a web forms type project, you could also get away with using the "Input Data" fields to enter in your parameters.

    InputData.png



  • 7.  RE: Use parameter in Workflow | Servicedesk

    Posted Sep 28, 2015 10:15 AM

    I will test it and report with my results.

     

    Thank you for your help 

     

    Greets

     

    Turl



  • 8.  RE: Use parameter in Workflow | Servicedesk

    Posted Sep 28, 2015 03:27 PM

    Exactly what I was thinking: Request[<blah>], where <blah> is the querystring key in the URL you want.

    I'd definitely wrap this logic with an Exists component to verify the key is in the querystring, else set it to empty string.



  • 9.  RE: Use parameter in Workflow | Servicedesk

    Posted Oct 01, 2015 06:12 AM

    Hello Guys,

     

    thanks for your help, it worked with the InputData.

     

    Thank you michael.george

     

    Greets

     

    Turl