- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2024 02:44 AM
Hello everyone,
I would like to display the relevant value from the SLA duration field in an informational message when a new case is opened.
In the record producer, I have a variable set that includes a variable created in a catalog client script named "add SLA alert." This script is of type onSubmit and contains the following code:
My challenge lies in determining the appropriate value to use within g_form.getValue('?').
Could anyone provide guidance on this matter?
Thank you in advance.
Best regards
Tal
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2024 12:37 AM
So after a few days of research,
I found this to be the best solution.
I am sharing it for everyone to have.
We will display the value in the message by creating a BR
after (insert)
on the sn_hr_core_case table
in advanced section we will write the following script

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2024 03:27 AM
The SLA won't be attached until after creation of the generated record. You won't be able to fetch this value in an onSubmit script unless you're pre-determining what SLA(s) are going to attach.
What's the business problem trying to be solved? There may be a better solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2024 06:36 AM
@Kieran Anson thanks for your quick answer.
Each record producer is assigned a specific task, and each task has a predefined SLA duration.
If this is what you intended, I would like to display the SLA value, such as 72 hours.
The business requirement is that the customer wants the user to see the number of hours or days allocated to handle their task in the information message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2024 12:37 AM
So after a few days of research,
I found this to be the best solution.
I am sharing it for everyone to have.
We will display the value in the message by creating a BR
after (insert)
on the sn_hr_core_case table
in advanced section we will write the following script