Salesforce

CtxStat (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

CtxStat (Magic xpa 4.x)

Returns the status of a context in the context table.

Syntax:

CtxStat (context entry or identifier)

Parameters:

context entry or identifier: A number representing the context. This number can be either the context entry number in the current context list or the actual context identifier.

Returns:

A string indicating the status of the context. Possible values are:

  • E for Executing when the current entry is currently executing.

  • P for Pending when the current entry is waiting for an event.

  • T for Terminated when the current entry has terminated.

  • I for Invalid when the entry number is invalid.

Note:

Before evaluating the CtxStat function, you should load the contexts list by evaluating the CtxNum function.

See also:

The Online and Rich Client Samples projects (program ES01 and RES01)

Reference
Attachment 
Attachment