- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2022 12:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2022 12:39 AM
Hello,
You can write a UI policy on the table:-
Select condition as state is resolved
And the add the below script in execute if true:-
g_form.addInfoMessage('your message here');
OR
In on change client script please use the below code:-
if(newValue==6)// Assuming the value of resolved state is 6
{
g_form.addInfoMessage('Your message here')
}
Please mark my answer as correct based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2022 05:22 AM
Hi @Adi MD
That happens because you are not controlling your scenario on the code.
On a onChange client script you have the "newValue" variable. What you are saying is that when the user changes the state to newValue=Resolved, then you what to display the information right?
Then add this code before your message, assuming 6 is the value for resolved:
if (newValue == 6)
g_form.addInfoMessage("your message here");
If I helped you with your case, please click the Thumb Icon and mark as Correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2022 12:04 AM
We can us on change and select field as state with g_form.addinfo but that applies to every time state change how to do specific for resolved only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2022 05:22 AM
Hi @Adi MD
That happens because you are not controlling your scenario on the code.
On a onChange client script you have the "newValue" variable. What you are saying is that when the user changes the state to newValue=Resolved, then you what to display the information right?
Then add this code before your message, assuming 6 is the value for resolved:
if (newValue == 6)
g_form.addInfoMessage("your message here");
If I helped you with your case, please click the Thumb Icon and mark as Correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2022 12:39 AM
Hello,
You can write a UI policy on the table:-
Select condition as state is resolved
And the add the below script in execute if true:-
g_form.addInfoMessage('your message here');
OR
In on change client script please use the below code:-
if(newValue==6)// Assuming the value of resolved state is 6
{
g_form.addInfoMessage('Your message here')
}
Please mark my answer as correct based on Impact.