- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2023 09:28 AM
Hi all,
I have a requirement -When creating the Incident from interaction via UI Action "Create Incident" in agent Workspace, we need to validate whether mandatory fields are filled or not. If mandatory field is filled, then only autosave. otherwise it shouldn't autosave unless Mandatory fields are filled.
Note: I want the property 'com.snc.incident.create_from_interaction.save' to be set to true.
How this can be achieved?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2023 06:15 AM - edited 06-10-2023 06:16 AM
Hi @Sandhya V you can make a "com.snc.incident.create_from_interaction.save" as false, as it will not save a Incident record without manually saving it. When you save a Incident in Workspace using Save Button it will automatically highlight the Mandatory field if these are empty. It will not save until all mandatory field having some value. Please mark this as Helpful/Correct
Regards,
Siddharam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2023 10:45 AM
Hi @Sandhya V is create Incident UI Action is custom created? The "Create Incident" Ui Action will automatically Validate the mandatory field on Interaction form. It will create Incident only when all the Mandatory field are filled and interaction form is saved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2023 05:33 AM
@Sid_TakaliThanks for the response. Above requirement was on Incident form after clicking on 'Create Incident' button.
when we set the system property "com.snc.incident.create_from_interaction.save" as true, irrespective of mandatory field is filled or not on Incident form, even before clicking on the 'save' button, the incident record gets created.
So, before it autosaves the incident record, we want to validate the mandatory fields on Incident form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2023 06:15 AM - edited 06-10-2023 06:16 AM
Hi @Sandhya V you can make a "com.snc.incident.create_from_interaction.save" as false, as it will not save a Incident record without manually saving it. When you save a Incident in Workspace using Save Button it will automatically highlight the Mandatory field if these are empty. It will not save until all mandatory field having some value. Please mark this as Helpful/Correct
Regards,
Siddharam