Discussion:
[rt-users] Use lifecycle to set status and invoke Dates page?
Peter Nikolaidis
2017-02-27 01:59:22 UTC
Permalink
Hi, 
I'd like to have a lifecycle action called "schedule," which would set the ticket's status to "scheduled" and take the user to the ticket's Dates page so they could set a due date. It's this possible? 
Thanks,
Peter

--
Peter Nikolaidis, CISSP, GCFE, GCIH, GPPA, GSNA
http://ParadigmCC.com
Ph: 617.517.2940
Matt Zagrabelny
2017-02-27 14:22:13 UTC
Permalink
Hi Peter,
Post by Peter Nikolaidis
Hi,
I'd like to have a lifecycle action called "schedule," which would set the
ticket's status to "scheduled" and take the user to the ticket's Dates page
so they could set a due date. It's this possible?
Just for clarity, the action isn't necessarily lifecycle related - it
certainly could be, though. Statuses are a component of lifecyles,
though.

You can tweak the Actions menu to your desires. We do all sorts of
modifications. There are Menu callbacks to inject your local tweaks
into the Actions menu.

-m
Peter Nikolaidis
2017-02-27 15:56:09 UTC
Permalink
Hi Matt,

Thanks for the reply. What woudl be the callback/action to take someone to
the Dates page for a ticket?

Thanks again,

Peter
Post by Matt Zagrabelny
Hi Peter,
Post by Peter Nikolaidis
Hi,
I'd like to have a lifecycle action called "schedule," which would set
the
Post by Peter Nikolaidis
ticket's status to "scheduled" and take the user to the ticket's Dates
page
Post by Peter Nikolaidis
so they could set a due date. It's this possible?
Just for clarity, the action isn't necessarily lifecycle related - it
certainly could be, though. Statuses are a component of lifecyles,
though.
You can tweak the Actions menu to your desires. We do all sorts of
modifications. There are Menu callbacks to inject your local tweaks
into the Actions menu.
-m
--
Peter Nikolaidis
CISSP
<https://webportal.isc2.org/custom/CertificationVerificationResults.aspx?FN=Peter&LN=Nikolaidis&CN=453003>
, GCFE <https://www.giac.org/certified-professional/peter-nikolaidis/118082>
, GCIH <https://www.giac.org/certified-professional/peter-nikolaidis/118082>
, GPPA <http://www.giac.org/certified-professional/peter-nikolaidis/118082>
, GSNA <http://www.giac.org/certified-professional/peter-nikolaidis/118082>
Paradigm Consulting Co.
MA:617.517.2940 * NH:603.676.7119 * VT:802.234.6368
http://pa.radigm.com
Matt Zagrabelny
2017-02-27 16:07:39 UTC
Permalink
Post by Peter Nikolaidis
Hi Matt,
Thanks for the reply. What woudl be the callback/action to take someone to
the Dates page for a ticket?
Have you used callbacks before? I ask because, while extremely useful,
they also have a learning curve. It helps to know where you are on the
curve.

And the official docs...

https://docs.bestpractical.com/rt/4.4.1/writing_extensions.html#Callbacks
https://docs.bestpractical.com/rt/4.4.1/writing_extensions.html#Adding-and-Modifying-Menus

-m

Loading...