I was able to accomplish this using an Automation Script (which was far easier to setup).
Launch Point - Type Object, WORKORDER
Event - Initialize Value
Jython Script:
from psdi.mbo import MboConstants
from psdi.server import MXServer
siteid = mbo.getString('SITEID')
if siteid == 'BEDFORD':
mbo.setFieldFlag("ASSETNUM", MboConstants.REQUIRED,True)
------------------------------
Jason Johnson
RSI
------------------------------
Original Message:
Sent: 03-26-2025 16:24
From: Jason Johnson
Subject: Conditional Require
In the wotrack application, I am trying to conditionally require the Asset field based on the site. I have tried the following links with limited success
Configure Conditional Properties to make a field required
Maximo Required Field based on a Condition
The field is required when the condition is true, that is working. However, if the condition is false, the field disappears. I've even tried putting "Display" to true when the condition is false. Am I missing something?
#Administration
------------------------------
Jason Johnson
RSI
------------------------------