- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2024 02:08 AM - edited 02-01-2024 02:09 AM
Hi,
1.When agent opens the incident, time should not start automatically.- I have did this glide.ui.timer.started is false then it is stopped running automatically.
2.when anyone should be able to manually start the timer and the timer starts. If the user/agent is updating the ticket, and the time worked is 00:00:00, add a info message (Please fill the time worked before updating the ticket) and abort the action. - I have tried BR rule but that is not triggering to Incident form.
Can anyone help on this code. 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-01-2024 02:25 AM
@mania ,
Remove the 3rd and 6th line. Anyway you have checked that in the condition section.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2024 02:14 AM - edited 02-01-2024 02:15 AM
Hi @mania ,
Haven't heard of gs.setActionCancelled ever. Can you instead try replacing with
current.setAbortAction(true);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2024 02:20 AM - edited 02-01-2024 02:20 AM
Thankyou for your responding!
I have tried but not showing that error message on the form, otherwise can you please proved code for that it will be helpful.
Thanks!
Mania
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2024 02:25 AM
@mania ,
Remove the 3rd and 6th line. Anyway you have checked that in the condition section.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2024 03:25 AM - edited 02-01-2024 03:49 AM
Thanks for your responding!
Its working now, but I have an issue here once i start the timer and update the record It is showing two records under the Time worked tab with the same time and also created duplicate records also.
Can you please help on how to solve this issue. It will be helpful.
Thanks!
Mania