Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

SHOW CALLERS / CALLEES

Synopsis

SHOW CALLERS OF qualified_name [ TRANSITIVE ]

SHOW CALLEES OF qualified_name [ TRANSITIVE ]

Description

Displays the call relationships for a given element. SHOW CALLERS finds all elements that call or reference the specified element (incoming edges). SHOW CALLEES finds all elements that the specified element calls or references (outgoing edges).

These commands require REFRESH CATALOG FULL to have been run beforehand. Without it, the cross-reference data needed for caller/callee analysis is not available.

By default, only direct (one-hop) relationships are shown. With the TRANSITIVE option, the command follows the call chain recursively to show the full transitive closure – all indirect callers or callees at any depth.

Parameters

qualified_name
The fully qualified name of the element to analyze (e.g., Module.MicroflowName, Module.EntityName). Works with microflows, nanoflows, pages, snippets, entities, and other referenceable elements.
TRANSITIVE
Follow the call chain recursively. For SHOW CALLERS, this finds everything that directly or indirectly leads to the target. For SHOW CALLEES, this finds everything the target directly or indirectly depends on.

Examples

Find direct callers of a microflow

REFRESH CATALOG FULL;
SHOW CALLERS OF Sales.ACT_CreateOrder;

Find all transitive callers

SHOW CALLERS OF Sales.ACT_CreateOrder TRANSITIVE;

Find what a microflow calls

SHOW CALLEES OF Sales.ACT_ProcessOrder;

Find all transitive callees

SHOW CALLEES OF Sales.ACT_ProcessOrder TRANSITIVE;

From the command line

-- Shell commands:
-- mxcli callers -p app.mpr Sales.ACT_CreateOrder
-- mxcli callers -p app.mpr Sales.ACT_CreateOrder --transitive
-- mxcli callees -p app.mpr Sales.ACT_ProcessOrder

See Also

SHOW REFERENCES / IMPACT / CONTEXT, REFRESH CATALOG, SELECT FROM CATALOG