CheckMessageStatus Parameters and Valid Execution Modes

The valid execution mode for CheckMessageStatus is SYNCHR.

The parameters of CheckMessageStatus are as follows:

CheckMessageStatus Parameters
Name Semantics Type Valid Values Multi–

plicity

Direction: In
MessageID#
(Optional) MessageID of the Message that was sent to the Application.

Replace # with an integer, for example, MessageID1, MessageID2. The activity concatenates them. The lookup stops when the next messageID# is not found, that is, there should be no gap in the sequence.

string Will generally be an Xpath into the received message. 0..1
SelectionMethod
(Optional) Used to decide if the status of the first or last application task should be returned for the given message ID.

Application tasks are internal work items which keep track of requests. Typically, one request would result in one application task. However, this may change as time-outs happen.

string First 
Last (Default) 1
Direction: Out
MessageID
 The Message ID for which status is retrieved. It is a concatenation of all MessageID# values passed to the activity. string   1
MessageStatus
(Optional) Status of the first or last (since there can be more than one) Application Task corresponding to the MessageID. string
NOTFOUND
OPEN
CLOSED
OPEN_TIMEDOUT
CLOSED_TIMEDOUT
1
ProcessID
(Optional) ProcessID of the last Application Task found. long -1 if no waiting application task found, that is if MessageStatus = NOTFOUND.

Else, the process instance ID of the last Application Task found.

1
ProcessStatus
(Optional) Status of the process. string Available only if a ProcessID > 0. Status can be:

INPROGRESS - process is running.

WAIT-TASK - suspended and waiting for restart event.

WAIT-WORKITEM – suspended and waiting for work item action.

COMPLETED - done with processing.

CANCELLED – process is cancelled.

1