Selectable Fields for Business Objects

This section lists selectable fields for business objects.

Selectable Fields for Business Objects
Field Description Output
altowner1

Alternate owner 1

Returns the altowner1 for the business object

altowner2

Alternate owner 2

Returns the altowner2 for the business object

attribute[].*

Attribute instance

If attribute[name] is specified, then default is value; if not, default is a list of all associated attribute names separated by commas.

attribute.inputvalue

The value for the attribute as it was entered by the user, regardless of the normalized value

Returns the input value as it was entered

attribute.inputunit

If the value was entered with no units specified, this selectable returns the default unit.

Returns the input unit as it was entered

attribute.dbvalue

Attribute[ATTRNAME] and attribute [ATTRNAME].value also return the normalized value.

Returns the default (normalized) value

attribute.dbunit

The defined default units for the dimension

Returns the default (normalized) unit

attribute.relationship.*   Not enabled
attribute.rule[].*   Name of access rule that governs the attribute
attribute.type.* Not enabled
attribute.unitvalue[]

Unitvalue[UNITNAME] is not a stand-alone selectable because it would simply return UNITNAME. It has subselects as defined below.

Returns the converted value in the unit UNITNAME.

##The following are valid for attribute.inputvalue, attribute.dbvalue, and attribute.unitvalue, where * is input, db, or unit:
attribute.*value.tostring

Converts the specified value to a text string including the values and units

Returns "attribute.*value attribute.*unit"

attribute.*value.systemvalue[SYSTEMNAME]  

Returns the unit in the system SYSTEMNAME corresponding to the unit selected off of the attribute.

attribute.*value.systemvalue[SYSTEMNAME].tostring

Converts the specified value to a text string including the values and units

Returns the value and unit of the system SYSTEMNAME.

##The following is valid for attribute.inputunit, attribute.dbunit, and attribute.unitunit (where * is input, db, or unit):
attribute.*unit.systemunit[SYSTEMNAME]  

Returns the value converted to the unit in the system SYSTEMNAME corresponding to the unit selected off of the attribute

attribute.value

Attribute value on this instance

Value

context.*

Context identifier

Returns current user context information

context.role[ ]

Context role

Returns the name of the context role. With [], returns TRUE/FALSE, depending on whether the string in [] matches the context role.

current.*

Current State

State name (see also Selectable Fields for Policy)

##The following are valid for both current and state:
current/state.access

Allowed accesses for the current user.

current.access[ACCESS_TYPE] accepts minorrevise as an ACCESS_TYPE.

Returns a string of all permissions (with comma separator) for the current user. For example:

read,modify,revise,show

Note: The keyword revise is output rather than minorrevise in order to maintain upward compatibility.

current/state.actual

Actual date

Value

current/state.actual.generic

Actual date in generic format (independent of the MX_NORMAL_DATETIME_FORMAT and MX_DECIMAL_SYMBOL settings chosen by an Administrator)

Value

current/state.current

Is current state?

True/False

current/state.disabled

Is disabled?

True/False

current/state.enabled

Isenabled?

True/False

current/state.name

State name

Value

current/state.overridden

Is overridden?

True/False

current/state.requirements.*

Requirements and accesses on the state

State name

current/state.

requirements.access[].*

Accesses for defined users

Returns a string of all permissions (with comma separator)

current/state.requirements.action

Program

Program name

current/state.requirements.autopromote

Can be autopromoted?

True/False

current/state.requirements.check

Program

Program name

current/state.requirements.checkouthistory

Is checkout history enabled?

True/False

current/state.requirements.filter[].*

Is the signature requirement satisfied?

True/False

state.requirements.id

Requirements identifier

Value

current/state.requirements.name

State name

Value

current/state.requirements.notify

Notify message

Value

current/state.requirements.

owneraccess

Accesses for owner use

Returns a string of all permissions (with comma separator)

current/state.requirements.publicaccess

Accesses for public use

Returns a string of all permissions (with comma separator)

current/state.

requirements.minorrevisionable

Is revisionable?

True/False

current/state.requirements.route

Person/group to reassign

User name

current/state. requirements. signature[].*

Signature instance

Name of signature or signer - See state.signature expansion below and in policy state.

current/state.

requirements.versionable

Does have versions?

True/False

current/state.minorrevisionable

Is revisionable?

True/False

current/state.satisfied

Are requirements satisfied?

True/False

current/state.scheduled

Scheduled date

Value

current/state.scheduled.generic

Scheduled date in generic format (independent of the MX_NORMAL_DATETIME_FORMAT and MX_DECIMAL_SYMBOL settings chosen by an Administrator)

Value

current/state.signature[].*

Signature instance

Signature properties and accesses

current/state.

signature.approved

Approved?

True/False

current/state.

signature.comment

Comments from the signer

Comments

current/state.

signature.hasapprove

Has been approved?

True/False

current/state.

signature.hasignore

Has been ignored?

True/False

current/state.

signature.hasreject

Has been rejected?

True/False

current/state.

signature.ignored

Ignored?

True/False

current/state.

signature.name

Signature name

Signature name

current/state.

signature.rejected

Has been rejected?

True/False

current/state.

signature.satisfied

Signature requirement is satisfied?

True/False

current/state.

signature.signed

Signed?

True/False

current/state.signature.signer.*

Signer ID

Signer ID

current/state.versionable

Is versionable?

True/False depending on how set.

current/state.start

The date on which the object first entered the state.

Date value. Value is an empty string if the object has never been in the state. This differs from the actual date in that the actual date is modified every time the object is promoted or demoted into the state.

current/state.start.generic

The date in generic format (independent of the MX_NORMAL_DATETIME_FORMAT and MX_DECIMAL_SYMBOL settings chosen by an Administrator) on which the object first entered the state.

Date value. Value is an empty string if the object has never been in the state. This differs from the actual date in that the actual date is modified every time the object is promoted or demoted into the state.

current/state.end

Date on which the object was last in the given state.

Date value. Value is an empty string if the object has never been in the state.. Value is 'NOW' for the current state.

current/state.end.generic

Date in generic format (independent of the MX_NORMAL_DATETIME_FORMAT and MX_DECIMAL_SYMBOL settings chosen by an Administrator) on which the object was last in the given state.

Date value. Value is an empty string if the object has never been in the state.. Value is 'NOW' for the current state.

current/state.duration

Time spent in the state.

Value is the number of seconds spent in the state. If an object is in a state more than once, this is a cumulative value. Value is an empty string if the object has never been in the state.

default.*

Default format for the definition object

Name of Default Format (see Selectable Fields for Formats)

##The following are valid for both default and format
default/format.businessobject.*

Default format definition object

Name of business object

default/format.file[].*

What files are present?

If file name is specified in [ ], returns True if that file is associated with the format instance. Otherwise, returns False.

If file name is not specified, returns list of all files associated with the format instance.

default/format.file. capturedfile.*

?

Captured file name

default/format.file.format.*

Format object instance

(see Selectable Fields for Formats)

default/format.file.host

Host machine from which the file was checked in.

Host name

default/format.file.location.*

Location object where file is located.

(see Selectable Fields for Location)

default/format.file.name

Name of checked- in file.

Name

default/format.file.obsolete.*

Returns all locations holding a copy of the file that has been marked as obsolete (needing synchronization), regardless of user's site preference.

List of locations

default/format.file.path

Path from which file was checked in.

Path

With Version 9 and higher, the output from the format.file.path selectable has changed to use forward slashes (/) instead of back slashes (\). For example, c:\mydocs\testfile.txt now appears as /c/mydocs/testfile.txt.

default/format.file.size

File size in Mb

Value(s)

default/format.file.store.*

Store object where file is located.

(see Selectable Fields for Store)

default/format.file.synchronized.*

Returns all locations holding synchronized versions of the checked in file(s), regardless of user preference.

List of locations.

default/format.format.*

Format definition object

Name of Format (see Selectable Fields for Formats)

default/format.hasfile

Is a file present?

True/False

default/format.modified

Returns the last checkin dates of specified filenames in the specified format.

Last check in dates.

description

Value

expression[NAME]

Evaluate the named expression against the business object

Value

evaluate[STRING]

Evaluate the specified expression string against the business object

Value

exists

Used with no other selectable; Asks: Does this object exist?

Returns true/false if it is the only selectable entered. Otherwise an error occurs.

first.*

Revisions of an object

Returns the revision identifier of the requested object. Works the same as in the next level in revisions[ ].

format[].*

Instances of all format objects

If a name is specified, returns True if an instance of format name actually exists and False if not; if nothing or a pattern is in [] then returns all format type names allowed.

format2[].file.*

Locations where files are synchronized, obsolete or none.

If a name is specified, returns True if an instance of format name actually exists and False if not; if nothing or a pattern is in [] then returns all format type names allowed. When it contains multiple values, lists values in square brackets.

Use format2.file.synchronized to identify the locations where files are synchronized.

Use format2.file.needsynchronization to identify files needing synchronization from one store/location to another store/location. Returns True or False.

Use format2.file.status to display status of the file. Returns store and all locations in brackets and displays status of file: synchronized, obsolete or none.

from[].*

from relationships

If the specified relationship exists returns True; otherwise False. If nothing or a pattern is specified in [ ], lists names of all the associated relationships.

grant.*

[??]

Value

grantee.*

User(s) to whom access is granted

Value

granteeaccess

Grantee accesses

Value

granteesignature

Have signature accesses been granted?

True/False

grantkey

Grant identifier

Value

grantor.*

User granting access

Value (seeSelectable Fields for User)

history.*

Text log of history

If history[n] = returns the nth history entry. If nothing is specified in [ ], returns log of all entries.

history.approve

Text log of history

Returns a list of approve history records

history.changename

Text log of history

Returns a list of changename history records

history.changeowner

Text log of history

Returns a list of changeowner history records

history.changepolicy

Text log of history

Returns a list of changepolicy history records

history.changetype

Text log of history

Returns a list of changetype history records

history.changevault

Text log of history

Returns a list of changevault history records

history.checkin

Text log of history

Returns a list of checkin history records

history.checkout

Text log of history

Returns a list of checkout history records

history.connect

Text log of history

Returns a list of connect history records

history.create

Text log of history

Returns a list of create history records

history.custom

Text log of history

Returns a list of custom history records

history.demote

Text log of history

Returns a list of demote history records

history.disable

Text log of history

Returns a list of disable history records

history.enable

Text log of history

Returns a list of enable history records

history.grant

Text log of history

Returns a list of grant history records

history.ignore

Text log of history

Returns a list of ignore history records

history.lock

Text log of history

Returns a list of lock history records

history.revise

Text log of history

Returns a list of minor revision history records

History records say:

history.revise = revisioned - user: NAME ...
history.majorrevise Text log of history Returns a list of major revision history records

History records say:

history.majorrevise = majorrevisioned - user: NAME ...
history.modify

Text log of history

Returns a list of modify history records

history.modifyattribute

Text log of history

Returns a list of modifyattribute history records

history.movedoid

Text log of history

Returns a list of movedoid history records

history.override

Text log of history

Returns a list of override history records

history.promote

Text log of history

Returns a list of promote history records

history.purge

Text log of history

Returns a list of purge history records

history.reject

Text log of history

Returns a list of reject history records

history.removedoid

Text log of history

Returns a list of removedoid history records

history.removefile

Text log of history

Returns a list of removefile history records

history.revoke

Text log of history

Returns a list of revoke history records

history.schedule

Text log of history

Returns a list of schedule history records

history.state

Text log of history

Returns a list of all states the object was in when operations were performed on it.

history.time

Text log of history

Returns a list of the timestamps of every history record.

history.time.generic

Text log of history

Returns a list of the timestamps in generic format (independent of the MX_NORMAL_DATETIME_FORMAT and MX_DECIMAL_SYMBOL settings chosen by an Administrator) of every history record.

history.unlock

Text log of history

Returns a list of unlock history records

history.user

Text log of history

Returns a list of all users who have operated on the object

history.between[FROMDATE|TODATE]

Subset of entire history log

With no dates included, returns a list of all history records.

When dates are included, they must adhere to the date format of the system.

If both FROMDATE and TODATE are provided, the list includes events that occurred between the 2 dates, inclusive of FROMDATE but exclusive of TODATE.

If only FROMDATE is included, the list includes events that occurred between the date specified and the present date, inclusive of both FROMDATE and the present date.

If only TODATE is specified, the list includes events that occurred before the date specified, exclusive of TODATE.

history.count[FROMDATE|TODATE]

History log count

With no dates included, returns an integer which is the total number of history records for the object.

When dates are included, they must adhere to the date format of the system.

If both FROMDATE and TODATE are provided, the list includes events that occurred between the 2 dates, inclusive of FROMDATE but exclusive of TODATE.

If only FROMDATE is included, the list includes events that occurred between the date specified and the present date, inclusive of both FROMDATE and the present date.

If only TODATE is specified, the list includes events that occurred before the date specified, exclusive of TODATE.

history.description

List of history log details

Returns a list of entries for each history record, that includes any fields other than state, user, event, or date concatenated together. Differs depending on the event.

history.description.between[FROMDATE|TODATE]

List of history log details

When between.dates are included, they must adhere to the date format of the system.

If both FROMDATE and TODATE are provided, the list includes events that occurred between the 2 dates, inclusive of FROMDATE but exclusive of TODATE.

If only FROMDATE is included, the list includes events that occurred between the date specified and the present date, inclusive of both FROMDATE and the present date.

If only TODATE is specified, the list includes events that occurred before the date specified, exclusive of TODATE.

history.event

List of history events

Returns a list of all history events that have occurred for the object.

history.user.between[FROMDATE|TODATE]

List of users

Returns the user responsible for each history record. When between.dates are included, they must adhere to the date format of the system.

If both FROMDATE and TODATE are provided, the list includes events that occurred between the 2 dates, inclusive of FROMDATE but exclusive of TODATE.

If only FROMDATE is included, the list includes events that occurred between the date specified and the present date, inclusive of both FROMDATE and the present date.

If only TODATE is specified, the list includes events that occurred before the date specified, exclusive of TODATE.

history.time.between[FROMDATE|TODATE]

List of history event times

Returns the timestamps of history events.

When between.dates are included, they must adhere to the date format of the system.

If both FROMDATE and TODATE are provided, the list includes events that occurred between the 2 dates, inclusive of FROMDATE but exclusive of TODATE.

If only FROMDATE is included, the list includes events that occurred between the date specified and the present date, inclusive of both FROMDATE and the present date.

If only TODATE is specified, the list includes events that occurred before the date specified, exclusive of TODATE.

history.time.between[FROMDATE|TODATE].generic

List of history event times

Returns the timestamps in generic format (independent of the MX_NORMAL_DATETIME_FORMAT and MX_DECIMAL_SYMBOL settings chosen by an Administrator) of history events.

When between.dates are included, they must adhere to the date format of the system.

If both FROMDATE and TODATE are provided, the list includes events that occurred between the 2 dates, inclusive of FROMDATE but exclusive of TODATE.

If only FROMDATE is included, the list includes events that occurred between the date specified and the present date, inclusive of both FROMDATE and the present date.

If only TODATE is specified, the list includes events that occurred before the date specified, exclusive of TODATE.

id

Object identifier

Value

islockingenforced

Is checkin allowed only if the object is locked?

True if enforced locking is turned on. False if not.

last.*

Revisions of an object

Returns the revision identifier of the requested object. Works the same as in the next level in revisions[ ].

lattice.*

Vault name

Value (see Selectable Fields for Vault)

locked

Is this object locked?

True/False

locker.*

Administrative object

User that Locked object

logicalid

A business object identifier. A logical id is a global identifier shared by all members of a revision sequence.

This selectable is only available if your database has been upgraded to use physical and logical IDs.

Value

method.*

?

Returns all programs that are associated as methods

modified

Modification time and date

Value

modified.generic

Modification time and date in generic format (independent of the MX_NORMAL_DATETIME_FORMAT and MX_DECIMAL_SYMBOL settings chosen by an Administrator)

Value

name

Business object name

Value

next.*

Revisions of an object

Returns the revision identifier of the requested object. Works the same as in the next level in revisions[ ].

originated

Creation time and date

Value

originated.generic

Creation time and date in generic format (independent of the MX_NORMAL_DATETIME_FORMAT and MX_DECIMAL_SYMBOL settings chosen by an Administrator)

Value

owner.*

?

Value (see Selectable Fields for User)

ownership[].organization

Organization(s) that own the business object

Value(s) or blank if none

See the MQL Guide > Working with Metadata > Ownership for details.

See also Selecting Ownerships, below.

ownership[].project

Project(s) that own the business object

Value(s) or blank if none

See the MQL Guide > Working with Metadata > Ownership for details.

See also Selecting Ownerships, below.

ownership[].comment

Comment included in the ownership definition

Value or blank if none

See the MQL Guide > Working with Metadata > Ownership for details.

See also Selecting Ownerships, below.

ownership[].access

Security token(s) specifying the ownership access mask of the business object

Value(s)

See the MQL Guide > Working with Metadata > Ownership for details.

See also Selecting Ownerships, below.

ownership[].businessobject

The ID of the ownership parent business object

Value or blank if none

See the MQL Guide > Working with Metadata > Ownership for details.

See also Selecting Ownerships, below.

ownership[].relationship

The ID of the ownership parent relationship

Value or blank if none

See the MQL Guide > Working with Metadata > Ownership for details.

See also Selecting Ownerships, below.

policy.*

?

Value (seeSelectable Fields for Policy)

physicalid

A business object identifier. A physical id is a global identifier that is unique to each business object

This selectable is only available if your database has been upgraded to use physical and logical IDs.

Value

previous.*

Revisions of an object

Returns the revision identifier of the requested object. Works the same as in the next level in revisions[ ].

program.*

?

value (see Selectable Fields for Program)

relationship[].*

All relationship instances

If the specified relationship exists returns True; otherwise False. If nothing or a pattern is specified in [], lists names of all existing relationships.

relationship.attribute[].*

Attributes of the relationship

Lists attributes of relationship if nothing specified in []. With a value in [] returns attribute value. (seeSelectable Fields for Attribute)

relationship.

businessobject.*

The "other" side of the relationship

Returns to object. If used with ".to.relationship", returns name of from object.

relationship.context.*

Context identifier

Returns current context user.

relationship.from.*

Business object on from side

Name of from associated business object.

relationship.history.*

Text log of history

If history [n] = returns the nth history entry. If nothing is specified in [ ], returns log of all entries.

relationship.id

Relationship identifier

Value

relationship.isfrozen

Frozen relationship?

Returns list of all relationships with True for frozen, False for not frozen.

relationship.method

Relationship method

Returns the name of the relationship ID

relationship.name

Relationship definition

Relationship name

relationship.originated

Timestamp when relationship was originated

Value

relationship.

propagatemodifyfrom

Is propagatemodify enabled on from businessobject?

True/False

relationship.

propagatemodifyto

Is propagatemodify enabled on to businessobject?

True/False

relationship.rule[].*

Relationship rule that governs that relationship

Returns the name of the relationship rule for that relationship

relationship.to.*

Business object on to side

Name of to associated business object.

relationship.type.*

Relationship definition

Relationship type

reserved

Boolean indication reserved status of a business object

True/False

reservedby

Non-empty string or the context user

Name of the person who reserved the object.

reservedstart

The date or timestamp of when the business object was reserved.

Returns the date and time of when that object was reserved.

reservedstart.generic

The date or timestamp in generic format (independent of the MX_NORMAL_DATETIME_FORMAT and MX_DECIMAL_SYMBOL settings chosen by an Administrator) of when the business object was reserved

Returns the date and time of when that object was reserved.

reservedcomment

Optional comment not exceeding 254 characters from the person reserving the object.

Any comments entered.

revision

Business object revision

Returns the full revision string of the object. If the policy supports both major and minor revisions, this is major-minor.

revisions[].*

Existing revisions of an object

If [ ] is left blank, returns the full revision string for all objects in the object's minor revision sequence.

If a revision is specified, returns True if it exists, False otherwise.

search.*  

True/False

search.author

Evaluates to an optional author returned by the search engine

search.capturedfile.*

True/False

search.format.*

(see Selectable Fields for Formats)

search.host

Host name

search.location.*

(see Selectable Fields for Location)

search.name

Name

search.path

Path name

search.score

Evaluates to an optional search score returned by the search engine

search.size

Size

search.store.*

(see Selectable Fields for Store)

search.title

Evaluates to an optional document title returned by the search engine.

search.url

Returns the url address

state[].*

States used in the lifecycle of the policy

Returns state names from lifecycle

to[].*

to relationships

If the specified relationship exists returns True; otherwise, False. If nothing or a pattern is specified in [ ], lists names of all the associated relationships.

trigger[]

any trigger configured for the object

Returns list of triggers in this format:

trigger = EVENT_INVOCATION:PROGRAM_NAME(ARGS)

Include a program name in square brackets to check for the existence of that program: TRUE/FALSE will be returned to indicate if that program is or is not configured as a trigger. If you do not include a PROGRAM_NAME, all triggers are listed.

immediatetrigger[]

any trigger configured for the object; does not include inherited triggers

Returns list of triggers directly configured for the type in this format:

trigger = EVENT_INVOCATION:PROGRAM_NAME(ARGS)

Include a program name in square brackets to check for the existence of that program: TRUE/FALSE will be returned to indicate if that program is or is not configured as an immediatetrigger. If you do not include a PROGRAM_NAME, all immediatetriggers are listed.

type.*

to relationships

If the specified relationship exists returns True; otherwise, False. If nothing or a pattern is specified in [ ], lists names of all the associated relationships.

unit[UNITNAME].default

Use to determine whether or not the specified unit is the normalized value for the dimension

Returns TRUE or FALSE indicating whether or not the unit is the default (normalized) unit

unit[UNITNAME].multiplier

Use to determine the multiplier value for the specified unit

Returns the value of the multiplier used to convert data from the input value to the normalized value

unit[UNITNAME].offset

Use to determine the offset value for the specified unit

Returns the value of the offset used to convert data from the input value to the normalized value

unit[UNITNAME].label

Use to retrieve the label assigned to the unit

Returns the label of the unit

unit[UNITNAME].dimension

Use to retrieve the name of the dimension for which the unit is defined

Returns the dimension that the unit is part of

unit[UNITNAME].systemunit

Use to determine the system to which the unit belongs

If an index (systemname) is given, returns the corresonding systemunit. If no index is given, returns a list of all systemunits applied to this unit.

vault.*

Vault definition

Vault name (see Selectable Fields for Vault)

workflow[].*

(See Selectable Fields for Query)

Selecting Ownerships

There are generally three types of ownership that may be selected:

  • Ownerships with organization/project. The organization/project fields are displayed and the businessobject/relationship fiields are blank.
  • Ownerships with a parent object. The businessobject field is displayed and the organization/project/relationship fields are blank.
  • Ownerships with a parent relationship object. The relationship fields is displayed and the organization/project/businessobject fields are blank.

Each ownership has a name that is constructed from the previous fields. A name pattern may be used to select a single (or group) of ownerships rather than retrieving the whole list. The name may be formatted in one of two ways, and wildcards may be used:

  • Names for ownerships with organization/project are formatted as ORGANIZATION|PROJECT|COMMENT.
  • Names for ownerships with a parent entity (either a business object or relationship) are formatted as OBJECT_ID|COMMENT.

The following are some examples of selecting ownerships:

  • This gets all ownerships based on organization/project: select ownership[*|*|*]
  • This gets all ownerships with a parent object: select ownership[*|*]
  • This gets all ownerships based on an OEM organization: select ownership[OEM|*|*]
  • This gets all ownerships with parent objects and the comment "workspace": select ownership[*|workspace]