IBM Support

How to make Memo field mandatory if the user tries to close an SR which doesn’t have a Work Order created for it.

Technical Blog Post


Abstract

How to make Memo field mandatory if the user tries to close an SR which doesn’t have a Work Order created for it.

Body

 

The objective is to make the Memo field mandatory (if the user tries to close SR which doesn’t have a WO created for it) in Change Status dialog box in Service Request application.

 

  1. Go To Conditional Expression Manager and Create a condition (KEOSRWOCHECK) with the following expression [:ticketid not in (select relatedreckey from RELATEDRECORD where relatedrecclass='SR')]
  1. Apply the condition to SR to the Memo (Change Status dialog box) fields via Application Designer application. Following are the parameters for applying the condition.
  • Signature Option: READ
  • Security Group: EVERYONE
  • Condition: KEOSRWOCHECK (as created above)
  • Property (Condition is True): inputmode / required
  •  
  1. On Text Box Properties Advanced Tab Sig Option Data Source ID: = MAINRECORD
  1. Save your work
  1. Now to test. Go To Service Request, create a new SR and Save SR.  Select Change Status and notice that Memo field (Change Status dialog box) is mandatory.

 

[{"Business Unit":{"code":"BU005","label":"IoT"}, "Product":{"code":"SSLKT6","label":"Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":""}]

UID

ibm11130733