Correcting Button Action

Moderator: crythias

Post Reply
eugenebbr
Znuny newbie
Posts: 2
Joined: 28 Oct 2016, 09:53
Znuny Version: OTRS 4
Real Name: eugene

Correcting Button Action

Post by eugenebbr »

Hello!

I'll start with an example.

We have a Change, Change has two WorkOrders, each WorkOrder has button "Report", by pressing the button we have a windows where we must change WorkOrder state, during Change.
Can we configure the button Report so it can approve (change state to approve) WorkOrder, without any pop-up window?
Is it possible with some expression like "Action=AgentITSMWorkOrderTemplate;WorkOrderID=[% Data.WorkOrderID | html %]; WorkOrderState=Approved"?
Or maybe there is OTRS code, where I can edit button behaviour?
alexus
Znuny wizard
Posts: 380
Joined: 20 Sep 2010, 16:54
Znuny Version: OTRS 6 CE
Real Name: Alexey Yusov
Company: Radiant System Group s.r.o
Location: Prague
Contact:

Re: Correcting Button Action

Post by alexus »

You need custom development to get buttons with predefined actions. It could be smh like this:
Screenshot 2016-12-01 22.06.44.png
You do not have the required permissions to view the files attached to this post.
Alexey Yusov

Production: OTRS CE ITSM 6.0.28 on CentOS 7 + Apache 2.4 + MariaDB 10.4.13 + Radiant Customer Portal

Radiant System OTRS Intergrator
RS4OTRS marketplace
Stay tuned on our Facebook
((OTRS)) Community Edition - what next?
Post Reply