DDEEXECUTE
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.
Sends an EXECUTE command to the server on the specified channel.
Syntax
DDEEXECUTE (channel, command, timeout)
where:
| • | channel is a numeric value specifying the channel number of the conversation. |
| • | command is a text string specifying the command to EXECUTE. |
| • | timeout is a numeric value specifying the number of seconds to wait for a response. |
Returns
One of the following numeric values:
|
Value |
Description |
|
0 |
Success |
|
1 |
Not processed (bad command, or server does not handle EXECUTE) |
|
2 |
Timeout - server busy |
|
3 |
Bad channel |
|
4 |
Unknown error from server |
Examples
TIBCO iProcess Modeler:
DDEEXECUTE (mychan, "RUN", 5)
TIBCO Business Studio:
IPEDDEUtil.DDEEXECUTE(mychan, "RUN", 5);
In this example, the channel number is specified as the integer data field mychan.