Hi can anyone give me some requirements of Business rules so that I can practice my scripting part ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2021 09:25 PM
Hi can anyone give me some requirements of Business rules so that I can practice my scripting part ?
- Labels:
-
Personal Developer Instance

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2021 09:28 PM
Ok, Try this...
Whenever incident tasks are created for an incident, the inc task short description has to be copied over to the Description(one below other) of the Incident record.
When first task is created, Incident Description has to be :
Task 1 Description
When second task is created, Incident Description has to be :
Task 1 Description
Task 2 Description
When third task is created, Incident Description has to be :
Task 1 Description
Task 2 Description
Task 3 Description
And so on...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2021 09:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2021 09:32 PM
- To Improve scripting, try to solve more scenarios
- There are multiple scenario's , you can refer below examples
- When user opens the existing incident and there is the parent incident of the same incident then there should be a message at the top “this incident is child xxxx incident” and when user click on parent incident number, it should open the same incident in new tab.
- Create a business rule to Create a custom table(cust_incident) with two fields (incident_num, state), and whenever incident created, copy newly created incident associated incident_num, state values into the new custom table.
- Create a business rule, Whenever a record deleted from 'cust_incident' table, delete corrresponding incident record from 'incident' table
- Before: If the Incident state is new then user should not able to delete that incident.
- Before: User should not be able to create new incident if the existing incident is there with same Short Description with Same Caller.
- After: When Problem resolves, then its related incidents should also resolve and copy the cause notes.
- Display: While Creating New Child Incident, Copy Fields From Parent Incident
- if there are multiple catalog items with same workflow but every time description field is getting changed so in run scrip
- activity how can we set it dynamically
- Write a script on incident, so when user select "caller" it will throw alert as “Mobile no of user is XXXXX”.when click on "ok", mobile no. get populated in short description of incident form
- Calculate the number and return as duration : User will be entering the number on the form for example lets say 250,
- based on the input it should convert this number into a time duration as 4 hours and 10 minutes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2021 09:59 PM
Thank you for posting multiple requirements