- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 05:14 AM
In new Application:
1.State value will be New, Work In Progress, Pending, resolve and closed state values to be managed by buttons.
2.When state in work in progress i want to display only pending and resolve buttons only & make worknotes as mandatory
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 06:32 AM
Hi Rajkumar,
Please navigate to the UI Action records, in the condition field add the conditions as below.
//for pending and resolve button
current.state == 1
//here 1 is the value of the state. To find the value of the state, You may right click on the state field then choose Configure Dictionary. Go to the bottom of the form and look for the 'Choices' tab. The actual value should be on the 'Value' column.
To make work notes as mandatory, please navigate to System UI -> UI Policies and create a UI Policy by selecting your table and adding the required conditions there. In the script tab, you can add the below code.
function onCondition() {
g_form.setMandatory('work_notes', true);
}
If my answer has helped with your question, please mark my answer as accepted solution and give a thumbs up.
Best regards,
Tharun Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 06:32 AM
Hi Rajkumar,
Please navigate to the UI Action records, in the condition field add the conditions as below.
//for pending and resolve button
current.state == 1
//here 1 is the value of the state. To find the value of the state, You may right click on the state field then choose Configure Dictionary. Go to the bottom of the form and look for the 'Choices' tab. The actual value should be on the 'Value' column.
To make work notes as mandatory, please navigate to System UI -> UI Policies and create a UI Policy by selecting your table and adding the required conditions there. In the script tab, you can add the below code.
function onCondition() {
g_form.setMandatory('work_notes', true);
}
If my answer has helped with your question, please mark my answer as accepted solution and give a thumbs up.
Best regards,
Tharun Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 05:57 PM
In the new application, you need to implement buttons to manage task states. The states will be New, In Progress, Pending, Resolved, and Closed. When a task is in progress, we display only the "Waiting" and "Resolution" buttons, and also make work notes mandatory. This approach will simplify task management and make the process more structured.