Workflow Soluiton

 View Only
Expand all | Collapse all

Submit Incident Workflow for servicedesk 7

  • 1.  Submit Incident Workflow for servicedesk 7

    Posted Nov 17, 2010 05:10 PM

    I'm trying to create a basic webform that creates a ticket in servicedesk 7. I can do this with my eyes closed in conjunction with the old 6.5 components, but need some assistance with SD 7. Anyone have any good examples or pointers?



  • 2.  RE: Submit Incident Workflow for servicedesk 7

    Posted Nov 17, 2010 07:47 PM

    To elaborate, something analogous to the "Create Ticket" component that worked with the old service desk.



  • 3.  RE: Submit Incident Workflow for servicedesk 7

    Posted Nov 18, 2010 09:25 AM

    Your best bet is generating a web service component against the IncidentManagement service in SD... the method "SubmitIncidentAndReturnPID" might be up your alley.

    There should be a SubmitIncident component in SD.Components already that is analagous to this, if you have access to it.



  • 4.  RE: Submit Incident Workflow for servicedesk 7

    Posted Nov 18, 2010 03:22 PM

    You'll have to bear with me as I'm not used to using webservices within workflows but am begining to grasp the concept. I was looking through the webservices that are available (under IncidentManagement). I saw the CreateIncidentSimpleAndReturnPID, with which i was able to invoke, fill in the fields and create a new incident. So, i guess my next question is how can I invoke one of these webservices from a workflow/webform project. If i try to create an integration library i get the following.



  • 5.  RE: Submit Incident Workflow for servicedesk 7

    Posted Nov 18, 2010 04:32 PM

    Your license level is blocking the web service generator (I assume you have WF7 SP2 or some flavor of SD based on it). If you were to upgrade to WF 7 SP3, you'd have all the generators available.

    If this isn't an option, your only option is to handcode the custom component.



  • 6.  RE: Submit Incident Workflow for servicedesk 7

    Posted Nov 23, 2010 04:17 PM

    I generated a webservice caller using the CreateSimple webservice and get the following. Is this something in the definitions or project properties?

     



  • 7.  RE: Submit Incident Workflow for servicedesk 7

    Posted Nov 24, 2010 03:55 PM

    I've aslo tried using the createincident simple component. After i fill in the required fields via webform, pass these to the component, configure the component to point to the incident management webservice. When I run in debug, the process reaces the create incident simple component and I get the following... 

     

    Note that this is on the same server from which the webservice is being called. Have also tried on another server referencing the webservice on this one.



  • 8.  RE: Submit Incident Workflow for servicedesk 7

    Posted Nov 29, 2010 08:33 AM

    Does your CreateIncidentSimple component have a field corresponding to the URL of the IncidentManagement svc? If so, is it valid?



  • 9.  RE: Submit Incident Workflow for servicedesk 7

    Posted Nov 29, 2010 10:11 AM

    Yes, it does have that field and I point it to the IncidentManagement service. Also, if i navigate to the url via IE, i get the list of webservices. One difference i noticed though, when i reference the incident management service from a server other than our SD server, i don't have the option to enter values and invoke the CreateIncidentSimple service.



  • 10.  RE: Submit Incident Workflow for servicedesk 7

    Posted Nov 29, 2010 12:45 PM

    The URL to IncidentManagement should resemble something like it's default value:

    http://10.113.0.111/SD.IncidentManagementProcess/IncidentManagement.asmx

    The ability to enter values is something specific to IIS on the machine you're on.

    I'm unsure if this is even jused in ServiceDesk anymore... I'd check the process itself in IncidentManagement.package to see how it's behaving.



  • 11.  RE: Submit Incident Workflow for servicedesk 7

    Posted Nov 29, 2010 01:09 PM

    Yeah, i actually replaced the 10.113.0.111 with the url for our incidentmanagement service. It looks like it sees the services but something happens (or is not happening), judging by the 404 error, when the data is passed through. The incident management service appears to be working without issue since the helpdesk itself seems to be working well.



  • 12.  RE: Submit Incident Workflow for servicedesk 7

    Posted Dec 28, 2010 04:09 AM

    I also want to create an Incident using a Webservice. I'm able to generate the webservice and using the component createIncidentsimple. But when I try run the workflow in debugmode the following error appears.

       Error Details
    Error Message:
    '', hexadecimal value 0x07, is an invalid character. Line 4285, position 46.

    Any Idee how to solve? Is your webservice running?



  • 13.  RE: Submit Incident Workflow for servicedesk 7

    Posted Mar 29, 2011 12:29 PM

    As most of you, I am trying to create an incident through a webservice. I have tried it 2 different ways, one by using the pre-built "CreateIncidentSimpleCompnent" and once by generating my own webservice. When I use the pre-built component I can't run it in debug because I get this error "Component is bound to service context [ServiceDesk] but the license provider for this context failed to provide a license." I have supplied the servicedesk server name in place of the 10.113 address and still no luck.

    When I create my own component and then debug it, I can enter info into the form and when I submit it I get the following error: "Exception has been thrown by the target of an invocation". I get this same error when I run Workflow Manager on both the SD server and a client machine.

    I would love to get this to work, does anyone have any ideas?



  • 14.  RE: Submit Incident Workflow for servicedesk 7

    Posted Mar 29, 2011 02:59 PM

    It took some time and some trial and error but I did one of these methods to work. I opted to use the ServiceDesk component directly, modified the SD URL correctly and made sure the SD.Licensing.dll was correct and loaded as well as made sure that the Service ID for the project was set to INCIDENT, otherwise the license wouldn't be applied.

    With the SD 7.1 component "CreateIncidentSimpleComponent" I did find that the default URL needed to be altered completely as it had the 10.113.x.xxx address AND the wrong path. It should be this: http://servername/SD.IncidentManagement/IncidentManagement.asmx. The default provided was set to SD.IncidentManagementProcess/IncidentManagement.asmx, hence my 404 error.