search cancel

Is it possible to set it to a required field only when a specific Status is selected?

book

Article ID: 32045

calendar_today

Updated On:

Products

SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service CA Service Desk Manager CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Question:

Is it possible to set some fields as required only when a specific Status is selected?

e.g.
- When the Status is changed to "Scheduled", 'Schedule Start Date' and 'Schedule Duration' fields become required fields.
- When the Status is changed to "Customer Hold", 'Call Back Date/Time' field is set as required field.

 

Answer:

In order to set some fields on a ticket as required fields, please follow the below steps.

In this example, 'Schedule Start Date' and 'Schedule Duration' in a Change Order are set to mandatory fields when the Status "Scheduled" is selected.

1) Log into Service Desk using Service Desk Administrator account and open [Administration] tab.
2) Go to 'Service Desk' > 'Change Orders' > 'Status'.
3) Select a Status that you would like to set up required fields and open [Change Order Dependent Attribute Control] tab. Click on <Create New> button.

<Please see attached file for image>

CO_status01.jpg


4) In Attribute fields, select an attribute you want to set as mandatory field and turn on 'Required' check box and click on <Save>.

<Please see attached file for image>

Attribute.jpg


You will be able to see 2 attributes are set as a required field.

<Please see attached file for image>

CO_status_set.jpg


After making the above change, when you select the status "Scheduled" and save the Change Order ticket, the fields will be required.

(e.g. Schedule Start Date field)

<Please see attached file for image>

exmple.jpg

 

Environment

Release:
Component: USRD

Attachments

1558699104124000032045_sktwi1f5rjvs16oj7.jpeg get_app
1558699102202000032045_sktwi1f5rjvs16oj6.jpeg get_app
1558699100395000032045_sktwi1f5rjvs16oj5.jpeg get_app
1558699098513000032045_sktwi1f5rjvs16oj4.jpeg get_app