Maximo Open Forum

 View Only

 mbo.getMboSet() params

  • Analytics
  • Assets
  • Customizations
  • Integrations
  • Maximo Application Suite
  • Predict
Abdelrahman Abbas's profile image
Abdelrahman Abbas posted 01-16-2025 04:46

i found a line script
userGroupSet = mbo.getMboSet("$SGROUPUSER", "GROUPUSER", "userid='" + loginuser + "'")
i can't under stand the first param with $ sign 
the second param is object or table ,the third one is a where clause 
but what is the first param and what this $ mean ?

Matt F's profile image
Matt F

Hi Abdelrahan,

This is seen when the relationship is temporary and not part of the MAXRELATIONSHIP table.

Sid Ogden's profile image
Sid Ogden

As Matt F mentioned this is a temporary relationship name. If within the automation script you need to reuse the select, you can call this name.

Abdelrahman Abbas's profile image
Abdelrahman Abbas

@Sid Ogden reuse it !? 
would you please give me an example ?

Jason VenHuizen's profile image
Jason VenHuizen

To add to what other have said, in your example the "$SGROUPUSER", is just the name of temporary relationship name and the dollar sign is only a convention that does not have any special meaning.  You could use whatever name you want, such as the example below where I have used "TEMPNAME" as the relationship name.

userGroupSet = mbo.getMboSet("TEMPNAME", "GROUPUSER", "userid='" + loginuser + "'")

If there were a situation where you needed to get the MboSet again from the mbo variable you could call the following:

userGroupSet2 = mbo.getMboSet("TEMPNAME")

Hope that helps.


::