- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 12:07 AM - edited 02-22-2024 12:08 AM
Hi,
I have restricted all the fields when before time worked field is updated It is showing like "Please fill the time worked before updating the ticket" But here I am facing one issue like I dont want to restrict Assignment group and assigned to so I want only restricting remaining fields(Except Assignment group and assigned to fields).
I wrote one BR for restrict all fields and attached below screen sorts.
How to do that can anyone help me on this, It will be helpful.
Thanks in Advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 05:29 AM
Looks like you added the Assignment group and assigned to variables inside the gs.nil move it out of that. Like this if(gs.nil(current.time_worked) || current.time_worked == previous.time_worked && !(assignmentGroupChanged || assignedToChanged))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 05:29 AM
Looks like you added the Assignment group and assigned to variables inside the gs.nil move it out of that. Like this if(gs.nil(current.time_worked) || current.time_worked == previous.time_worked && !(assignmentGroupChanged || assignedToChanged))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 02:46 AM - edited 03-11-2024 02:47 AM
I have wrote BR for When time worked field is restricted like "before ticket is updating please fill the time worked field" to restricted to all the fields except assignment group and assigned to fields on Problem form.
But here I used the same code on Incident form Its working fine but in Problem form when I update the time worked field and then click on the 'Fix' button its showing again this error and When I click on 'Fix' and 'Accept Risk' button It is asking again that error so except these fields and buttond remaining all are working fine (Before updating the ticket please fill the fields).
Can you please suggest me why because of this is happing. It will be helpful.