on 04-03-2018 3:06 PM
Hi Experts
I have an urgent requirement I need to create a custom button on service ticket that work for closing the ticket and at the same assign the service ticket to a current user.
can anyone help on this, this is urgent requirement and need to be finish by tomorrow,
Hi Avinash
Please follow blogs/youtube videos by Jens Limach & Stefan Hagen on how to use SDK - UI Designer for custom development.
For your requirement it can be realized from SDK:
1) Use Extensibility explorer in UI Designer to add the custom button->on click of button->you can trigger the BO Action 'Close' or 'Complete'
or
2) You could create a Custom BO Action - which would handle 'Closing Ticket' and Assigning Ticket to a new agent i.e. Logged-In User
This is pretty straight-forward. If you are stuck at some step and unable to move forward you may ask such specifities but asking such consulting oriented queries cannot fetch the right response in such a forum! 🙂
Regards
Dedeepya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dedeepya
Thank you for suggest me new things actually I have not work on service ticket before I am not able to assign the service ticket to current user. and dont know which field need to access that time. It would be great if you can suggest me the name correct field or you can send me code
thank you very much
Try the below code...
var currentUserUUID = Context.GetCurrentIdentityUUID();
var qry = Identity.QueryByElements;
var selparam = qry.CreateSelectionParams();
selparam.Add(qry.UUID.content, "I","EQ", currentUserUUID.content);
var result = qry.Execute(selparam);
foreach(var ident in results){
this.processor = ident; // here 'processor' is field in ServiceRequest BO, check in repository explorer for exact name
}
Regards
Sunil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.