Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# execute()

Invokes the following list of special commands.

- printRuleNetwork
- getJoinTable
- workingMemoryDump
- startFileBasedRecorder
- stopsFileBasedRecorder

## Type

ACTION_INFO

## Parameters

Name | Description
--- | ---
    Command
| The special command to run.
    Parameters
| Parameters

The list of special commands with their parameters and return value is as follows:

Command | Description
--- | ---
    printRuleNetwork
| Displays Rete Network of a particular one or more Sessions. ## Parameters
Name | Description
--- | ---
    ruleSession Name
| Name of the RuleSession.
## Returns
Type | Description
--- | ---
    Line
| Row Number.
    Name
| Name of the RuleSession.
    Value
| Rete network object.
    getJoinTable
| Retrieves a Join table Id from one or more Sessions. Note: If the Join table Id does not exist, then the hawk encounters the exception that the Join table {Table Id} does not exist. ## Parameters
Name | Description
--- | ---
    Table Id
| ID of the Join table of a specific session. The initial value of the table id is int 0.
## Returns
Type | Description
--- | ---
    Line
| Row Number of the record.
    Name
| Table Id of the Join table.
    Value
| Objects in a specific row of the Join table.
    workingMemoryDump
| Displays a dump of the working memory objects for a particular one or more Sessions. ## Parameters
Name | Description
--- | ---
    ruleSession Name
| Name of the RuleSession.
## Returns
Type | Description
--- | ---
    Line
| Row Number.
    Name
| Name of the RuleSession.
    Value
| Objects in a specific row.
    startFileBasedRecorder
| Starts recording and maintains logs in a file based on the mode of recording. ## Parameters
Name | Description
--- | ---
    Session Name
| Name of the RuleSession for which recording is done.
    Directory
| The directory path is where the log of the session recording is maintained.
    Mode
| The recording of the session is done in the following different modes:
Recording Mode | Description
--- | ---
c | For record asserted.
u | For record modified.
d | For record retracted.
s | For the record is a scheduled time event.
r | For the record rule, fired.
a | For the record action run.
x | For the record event, expiry.
f | For the record function, run.
e | For the record event, expired.
For example, `inference-class /home/myuser c` ## Returns
Type | Description
--- | ---
    Line
| Row Number of the record.
    Name
| Name of the RuleSession.
    Value
| Objects in a specific row.
    stopsFileBasedRecorder
| Stops the recording and ends the log in the log file. ## Parameters
Name | Description
--- | ---
    ruleSession Name
| Name of the rule Session.
## Returns
Type | Description
--- | ---
    Line
| Row Number of the record.
    Name
| Name of the RuleSession.
    Value
| Objects in a specific row.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.