Menu

Automatic create new Object ( VM, Server) after finish Change/helpdesk

diepnguyen
2024-01-29
2024-01-30
  • diepnguyen

    diepnguyen - 2024-01-29

    Hi everyone

    i have a workflow as below:

    User create change request for Create new/Modify VM (RAM, CPU) -> admin assign tech -> tech finish job -> A new VM will be created.

    How can we do the last work ( Automatic create new Object ( VM, Server) after finish Change/helpdesk), does itop support call a php method directly or run SQL command ?

    Thank you

     
  • Vincent @ Combodo

    Within a workflow action you can execute one or multiple php method on the current object (In your case the Change, and this method itself can of course create or modify another object such as VM).

     
    👍
    1
    • diepnguyen

      diepnguyen - 2024-01-29

      Thank you, Mr Vincent, Pls keep in touch, im having much question about itop ^^

       
    • diepnguyen

      diepnguyen - 2024-01-30

      Hi Mr Vincent, im following the guideline, so if i wanna make my custom php function, so which file i should write my function ? is Module.itop-xxx.php file ?

       
      • Jeffrey Bostoen

        Jeffrey Bostoen - 2024-01-30

        Take a look at iTop's documentation. You'd need to create your own extension, and you can actually make your own XML file for this to define or redefine a function.

        https://www.itophub.io/wiki/page?id=latest:customization:start

         

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.