Created actions to change ticket type (and by this open the appropriate screen to select these entities):
<img src="/uploads/default/5960/647d1d148d1535dc.jpg" width=“300"”>
Created rules to call these actions when the buttons are clicked"
gave them default mappings
Now the buttons have been replaced with my own buttons:
And when I click on them, I get the correct screen, but there is no “Select customer” button on it:
When you take them out of Ticket Type it removes any ability to select customer automatically meaning you have to create those buttons yourself. And only way to do this is with Custom Entity Screen. You would need to make automation buttons that can select entity … and so forth.
Load Entity would probably be useful here. But I am confused with what you mean. When you press Select Customer it automatically selects that Entity so after that {ENTITY NAME:Customer} should work
I don’t have the hard-coded Select Customer button there, it’s a button I added myself.
When I click on the automation button Select Customer, I need to change the ticket entity but I don’t know what the entity’s name is. I need to get this from the entity search’s currently selected customer, but I don’t know how to do that.
Can you explain your flow a little better. What is the reason to get rid of the Hard Coded button? I know we briefly discussed this in another thread but I never had the time to look at it for you, and providing this information will help me understand and recommend the right option.
Alternatively you could use a different method if you do not want to switch screens… you can search and enter an Entity via Numberpad…or can even do it via a [?Parameter] But the Search Widget is very useful if you want to Edit the Entity or Add an Entity. Although Technically you could do all of that without having to switch screens as well.
I didn’t have a rule setup for the automation button. I was just trying out the ENTER key like you said.
I just setup the rule you just showed me, and that doesn’t seem to be doing anything.
My entity screen has Customers in the entity list:
I understand why it wasn’t working now. The field next to “search customer” has to have the primary field filled in completely. Just selecting one of the customers in the list does not change this field. That’s why pressing ENTER after selecting a customer in the list doesn’t attach the customer to the ticket. So I need to fill in this field myself before pressing ENTER. Just selecting it in the list won’t do.
@emre, would it be a problem to change the behavior of the entity search widget so that selecting an item in the list auto-fills the search field with the primary field? Or would that interfere with other uses of the widget?