-
Open the Run MQL window:
-
From the compass, select Collaboration and
Approvals.
-
In the navigation pane, click .
To run an MQL command, enter the command in the
MQL Command box and click Run
or press Enter.
- To set the context for the MQL session, run this command:
set context user creator;
-
Use the Trigger Report utility to find the name of the needed eService Trigger
Program Parameters object. For more information, see Generating a Trigger Report.
You can also use MQL to list the
triggers:
temp query businessobject "eService Trigger Program Parameters" * *;
This
command generates a long list. You can narrow down the list by including the
administrative type (which is used in the name of the object). For
example:
temp query businessobject "eService Trigger Program Parameters" Relationship* *;
-
To determine if the object is active, run this command:
print bus "eService Trigger Program Parameters" <NAME> <REV>;
For
example:
print bus "eService Trigger Program Parameters" RelationshipEBOMModifyToAction markDirty;
The
current state
information shows if the object is active
or inactive.
-
To deactivate a trigger, run this command:
modify businessobject "eService Trigger Program Parameters" <NAME> <REV> current Inactive;
where
<NAME>
and <REV>
identify
the object. For
example:
modify businessobject "eService Trigger Program Parameters"
RelationshipEBOMModifyToAction markDirty
current Inactive;
-
To activate a trigger, run this command:
mod bus "eService Trigger Program Parameters" <NAME> <REV> current Active;
where
<NAME>
and <REV>
identify
the object. For
example:
mod bus "eService Trigger Program Parameters"
RelationshipEBOMModifyToAction markDirty
current Active;