Menu

Automatic Workorder creation on creation on Change or Incident ticket

2019-09-12
2023-03-27
  • Lalit Joshi

    Lalit Joshi - 2019-09-12

    Hello,

    We are trying to build calalog service requests where automatic object (workorder) creation is required. As an example: User will select a service in the portal like Install Printer > This will submit a Incident, Based on that we need to create multiple workorders which will be assigned to support teams.

    Second user case is when a new change is created, multiple work orders or taks to be created automatically.

    Is this possible in iTop? Please advise how we can achive it.

    Thanks, Lalit

     
  • Lalit Joshi

    Lalit Joshi - 2019-09-12

    Thanksfor your responce Zana.
    I saw this extension and downloaded it. However still i am not getting a clue what is required to configure. Where i have to write the template which is provided in the example an how?

     
  • Alexandre

    Alexandre - 2019-09-13

    Hi Latit,
    All the configuration needs to be done in the configuration file (Admin Tools/Configuration), in $MyModuleSettings section.
    Regards
    Alexandre

     
    👍
    1
  • Pierre Goiffon

    Pierre Goiffon - 2019-09-13

    Hello,
    And also take a look at the extension wiki page, for example it contains a configuration example

     
  • Lalit Joshi

    Lalit Joshi - 2019-09-13

    Thanks Alexandre and Pierre.
    I copied the same example given on the abovae shared link under $MyModuleSettings. Tried to test it by creating a new request but nothing is happening. Please see the screen shot i have shared on my config file.

     
  • Alexandre

    Alexandre - 2019-09-13

    Hello,
    As far as I can see, workorders will be created when the user request will be assigned.
    What is your request status?

     
  • Lalit Joshi

    Lalit Joshi - 2019-09-13

    Yes, Request tatus is assigned only.

     
  • Alexandre

    Alexandre - 2019-09-13

    You need to create regarding "Procedures" for each ServiceSubcategory

     

    Last edit: Alexandre 2019-09-13
    • Lalit Joshi

      Lalit Joshi - 2019-09-13

      I am unable to see this on my itop.

       
  • Lalit Joshi

    Lalit Joshi - 2019-09-13

    I can see these lines in the logs.

    2019-09-13 09:13:15 | Error | itop-stencils: rule #0 - Parameter templates: Unknown class - found 'WorkerOrderTemplate' at 7 in 'SE$
    2019-09-13 10:10:39 | Error | itop-stencils: rule #0 - Parameter templates: Unknown class - found 'WorkerOrderTemplate' at 7 in 'SE$
    2019-09-13 10:16:29 | Error | itop-stencils: rule #0 - Parameter templates: Unknown class - found 'WorkerOrderTemplate' at 7 in 'SE$

     
  • Lalit Joshi

    Lalit Joshi - 2019-09-13

    The prolem is am facing is where to define template. This is not mentioned clearily in the documentation. Do i need to create new template class under extension? or define in the config file?

     
  • Lalit Joshi

    Lalit Joshi - 2019-09-13

    Here is the screen shot.

     
  • Alexandre

    Alexandre - 2019-09-13

    I apologize, I made a mistake.
    With "Configurator for automatic object creation extension" you have two solutions to fullfil your need.
    1. Create an new class "workorder template" with a link to service subcategory and adapt the configuration sample
    2. More simply just create a set of workorder named template xxx and adapt the configuration sample to copy each (or a part of) template when you create a user request

     
    👍
    2
  • Piyush

    Piyush - 2023-03-23

    i'm getting same error-

    "2023-03-23 10:25:20 | Error | 1 | itop-stencils: rule #0 - Parameter templates: Unknown class - found 'WorkerOrderTemplate' at 7 in 'SELECT WorkerOrderTemplate WHERE service_id = :trigger->service_id', '' | IssueLog".

    Could you share the solution?

     

    Last edit: Piyush 2023-03-23
  • Apurv Singh Manral

    Hi Team,

    I tried the same method and it's giving me the same error do we have any solution for this

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.