incident opent by will populate Assigned To
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2024 06:33 AM
Hey! I need help
I want when saving a new incident (new), if the fault is not marked as a call log that would be false (this is a checkbox I created) then to automatically populate the Assign to with whoever created the fault. I tried everything and it doesn't work now I tried client script-onSumbit that its not work!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2024 07:24 AM
HI @yardenKrispel ,
Have you debugged if condition is satisfied or not by putting alert. Syntax wise code looks right.
I would rather suggest instead of client script to use business rule in this case with following steps.
1. Create new business rule on incident table- check advanced checkbox.
2. In when to run section select when as before and check the insert checkbox.
3. In filter condition, select your field conditions as per your requirement.
3. Go to script section- use below line of script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2024 07:36 AM
thank you' bur its not work :
and this busniess ruls
yoi can help mw fix these?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2024 08:10 AM
Please add log in this business rule to check if it's called or not at first place before line no2 in script.
This is regular incident form right?
Regards,
Priyanka Salunke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2024 08:47 AM
What appears is first name and last name