Create Ticket with Service Desk and E-mail

lone_ranger's picture

I'm trying to start a workflow by doing the following:

1. The user sends an e-mail to a preconfigured POP mailbox.
2. Workflow is configured to watch this mailbox for e-mails
3. when an e-mail comes in to route that request to my published workflow  to start the process.

I have the workflow process configured and is working if I use a form, but I need to have it kick off via an e-mail so I've started a monitor workflow and copied my data to the new workflow.

Any ideas on the best way to do this?

lone_ranger's picture

Nothing ??

I tried using a component called Auto Start from E-mail and created an output of v_email and I have a create ticket and wait for status component that will wait for the ticket to be put into a certain status then create a new child ticket.

I have no idea how to use this component and there is not really any good docs showing how to use this (no surprise here) . I've plugged in my credentials but I'm wondering if this is doing to use all e-mails that are on the pop server or based on my user name and password if it will only download the emails that my account has access.

Ewentling's picture

Just out of curiousity, why

Just out of curiousity, why use Workflow for this when the HelpDesk has an inbox monitoring tool already in it?  The Helpdesk can also have an email sent to the user when a ticket is created.  I suppose you could use Workflow to so this but I think you might be making it too complicated for the little bit of work that you need it to do.  Since you mentioned that there is a web form already, why not tie the form and the ticket creation together in one project?  Use a web form component then pass the data on to a createticketcomponent.  If you still need an email to be sent for some reason, you could also use the sendemail component.

mccarthy.cw's picture

 I agree with Ewentling.  The

 I agree with Ewentling.  The helpdesk solution already has the tools to accomplish what you would like to do without using a workflow.

lone_ranger's picture

Thanks for the reply

Thanks for the replies guys.

The reason I want to use Workflow and not the Service Desk is because Service Desk 7 will be fully based on the Workflow system and I figured if I start setting up these processes in Workflow now, it will save me time when we go to service desk 7 by allowing me to simply move these procedures over. Plus, this particular workflow can serve as a template in my environment.

I also want to use workflow to wait for the parent ticket to change status before spawning off any child ticket. Also I want to include the comments made in the parent ticket into the child tickets when they are opened. I don't believe I can accomplish this with Service Desk but I could be wrong.

Does anyone know how to utilize the Auto Start from E-mail component to watch a pop mail box. I'm trying to use this component currently and I'm wondering how it knows what mailbox to use? Is it based off my user credentials? The workflow I have created with this component works great with the debugger but does not do anything if once I publish it.

Also, does anyone know how to create a ticket with in the service desk and have that generate a workflow process?

lone_ranger's picture

Upadate

I created an inbox in the service desk along with a routing rule that states if an e-mail comes in with the subject line of xxxxxxxx----- the category is changed to "name change". Next, I have an automation rule set up that if a ticket comes in with a certain worker account and the category is "name change”, then it will invoke a URL. The URL I chose points to my published workflow called http://SERVERNAME/WORKFLOWNAME/composer.aspx?Start... .
This works fine with the debugger and even if I type in http://SERVERNAME/WORKFLOWNAME/composer.aspx?Start... ticket number” It works as expected.
In my workflow project I added an input data property called workitemnumber with no default value. The question is how to I pass the workitem ticket number to this workflow from the service desk to workflow?

imagebrowser image