Maximo List Archive

This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.



Re: Condition Expression : Hiding Actions from Select Action menu of a Maximo Application

From: somayina (2015-05-07 05:40)

Not a query...just though someone might find this post useful

Hiding an Action from the Select Action menu of an application

Where Application e.g. SR
Action e.g. Create Incident
security Group e.g. MAXADMIN
System e.g. Maximo SCCD or AM
1. Go To --> Administration --> Conditional Expression Manager
2. New Condition e.g. CONDHIDEACT
3. Expression as follows:
:user in (select userid from groupuser where groupname in ('MAXADMIN')) and
exists (select 'X' from SR where (ticketid,class) in (select relatedreckey,relatedrecclass
from RELATEDRECORD where class='INCIDENT' and recordkey in (select TICKETID from INCIDENT
where status = 'ASSIGNED')))
4. Check Evaluate flag
5. Save
6. Go To Security --> Security Groups
7. Retrieve the required Security Group e.g. MAXADMIN
8. Navigate to the Applications TAB and retrieve the required application e.g. Service Request
9.Navigate to the Actions Section and retrieve the required action e.g. Create Incident
10. Specify condition code e.g. CONDHIDEACT from Step 3 in the Condtion field next to the 'Create Incident' action
11. Save Security Group
12. Go to Service Request application and test as a member of the affected group the following scenarios
1. SR with no related records of type 'INCIDENT'
2. SR with at least one related record of type 'INCIDENT'