DDEGETTOPIC

Usage

TIBCO iProcess Workspace (Windows)

Warning: (iProcess only) This expression is not available to the TIBCO iProcess Script Server Plug-in. Therefore, even though you can successfully enter the expression in your iProcess Script plug-in definition, it will not be processed by the iProcess Engine. It will return SW_NA.

Get the DDE conversation’s topic name. (This function would be used if no topic had been specified to DDEEXECUTE.)

Syntax

DDEGETTOPIC (channel, fldret)

where:

channel is a numeric value specifying the channel number of the conversation.
fldret is a text string specifying the iProcess fieldname reference to contain the returned name.

Returns

One of the following numeric values:

Value

Description

0

Success

1

Bad channel

Examples

TIBCO iProcess Modeler:

DDEGETTOPIC (mychan, myfield)

TIBCO Business Studio:

IPEDDEUtil.DDEGETTOPIC(mychan, myfield);

The arguments are passed as integer and string data fields respectively.