If you go to the automation scripts way, I suggest also adding validations (if it is required):
Original Message:
Sent: Fri May 31, 2024 02:42 AM
From: Andrey Ilinskiy
Subject: Maximo Conditional UI Expressions
If I understood you correctly, yes it can be. Conditional UI rules apply to the field accessed via UI. So, you have your details section closed it can not be work.
Anyway, try first:
set for table with assignments tag rowdetailsexpanded="true" (or in UI it is on the "advanced" tab in table element properties)
Try to set on fld sigoption data source as table id
SIGOPTIONDATASRC = "[asstigments table id]"
And the most powerful (from my point of view) is to create an automation script on INIT for the assignment object and put all logic there like that:
from psdi.mbo import MboConstantsif (....) : mbo.setFieldFlag("FLD01", MboConstants.READONLY, False); mbo.setFieldFlag("FLD02", MboConstants.REQUIRED, True);else : mbo.setFieldFlag("FLD01", MboConstants.READONLY, True); mbo.setFieldFlag("FLD02", MboConstants.REQUIRED, False);
------------------------------
Andrey Ilinskiy
Handz.on
https://www.on.de/
München
Original Message:
Sent: Thu May 30, 2024 01:29 PM
From: SANJAY PATIL
Subject: Maximo Conditional UI Expressions
Questions:
Under the Work Order Assignments Tab:
The field is displayed under the detail section for Assignments (FLD1), and it is a part of the UI Conditional Rule action (e.g. Make this FLD1 Required). The field displayed on the Assignment List has this UI condition (FLD2). So, when user, without opening the detail section, attempt to modify the value on the Assignment List (FLD2), the UI Conditional Rule doesn't fire. However, if Assignment Details are open, then the UI rule fires.
No error in the log.
Another observation is, when I use this XML Table attribute property on Assignment Table in UI Presentation,
Rowdetailsexpanded="true"
e.g. <table id="assignment" label="Assignment" relationship="ABCD" rowdetailsexpanded="true">
I expected, by default all assignments should display the detail section opened. But this is not the case. If you open one assignment details section in one session and then within the same session if you move around different applications and come back to Assignment, then you will see all subsequent assignment records will show the details section opened. But when you log out and log back in, you will once again see the Assignment Details section closed.
Just looking for other Maximo practitioners' thoughts on this, please.
------------------------------
SANJAY PATIL
------------------------------