Hi.
I need to write a note in the parent, when one of its chils closes.
Does it exists a component to do that?
Or in wich module (and possibily method) I need to modify the code?
Thanks.
rodolfo
Update parent when child closes
Moderator: crythias
-
- Znuny newbie
- Posts: 55
- Joined: 13 Apr 2017, 11:27
- Znuny Version: 6.5.4
- Real Name: Daniel
- Company: Komputronik S.A.
Re: Update parent when child closes
There are possibilities. For instance: if you have OTRS 6.0.x you probably need perl module for this (I have written once such a module).
For Znuny 6.x you have invoker for outgoing webService, which gives more possibilities (I use it in newer processes), for instance: when creating child ticket I send to one of dynamic fields its parent's ID. When closing child ticket (or calling process transition action) I can call webService and update parent ticket using this remembered ID.
Daniel Lisiecki
For Znuny 6.x you have invoker for outgoing webService, which gives more possibilities (I use it in newer processes), for instance: when creating child ticket I send to one of dynamic fields its parent's ID. When closing child ticket (or calling process transition action) I can call webService and update parent ticket using this remembered ID.
Daniel Lisiecki
-
- Administrator
- Posts: 3975
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Update parent when child closes
Hi,
- Roy
But you know that you can use the transition action ticket create with a dynamic field passing the ticketid/ticket number with a value like '<OTRS_TICKET_TicketNumber>?
Have you ever tried https://doc.znuny.org/manual/admin/proc ... er-tickets?
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 55
- Joined: 13 Apr 2017, 11:27
- Znuny Version: 6.5.4
- Real Name: Daniel
- Company: Komputronik S.A.
Re: Update parent when child closes
Thank you Roy, for your suggestions.
Parent's ID is just a my choice.
BUT your link to new transtion action parameters is just great! I didn't noticed that! I asked about it in this thread: viewtopic.php?f=53&t=43400 but no one has answered me Thanks a lot!
Daniel
Parent's ID is just a my choice.
BUT your link to new transtion action parameters is just great! I didn't noticed that! I asked about it in this thread: viewtopic.php?f=53&t=43400 but no one has answered me Thanks a lot!
Daniel
-
- Znuny newbie
- Posts: 92
- Joined: 11 Jun 2020, 14:56
- Znuny Version: 6.5.8
- Real Name: Rodolfo Rughi
- Company: none
Re: Update parent when child closes
Thank you all for the valuable information.
I will try these techniques and post here the solution I find.
thank you!
I will try these techniques and post here the solution I find.
thank you!