Commands

Here are the list of FacetScript commands to that help developers to write complex logic for processing the messages.

Command CategoryName
Lifecycle of FacetInstance

OnActivate, OnOpen, OnRequest, OnResponse,

OnError, OnClose, OnDeactivate

ReceiveActivate, ReceiveOpen, ReceiveRequest, ReceiveResponse,

ReceiveError, ReceiveClose, ReceiveDeactivate

 

Temporary Cache

SetLocalDataAddLocalDataDelLocalData,

SetProcessDataAddProcessData, DelProcessData,

SetContextDataAddContextDataDelContextData,

SetFacetDataAddFacetDataDelFacetData

Conditional StatementsIf, Select
Control LoopsFor
Manipulate Request and Response

SetRequestSaveRequestPushRequestPopRequest,

SetResponse, SaveResponse, PushResponse, PopResponse

Process BlockProcess, ProcessKeyword, ProcessWith,  Macro
ScriptingScript, ScriptEngine, JexlScript, JavaScript
PipelineDelegateRequest, DelegateResponse
Tagging

SetServerId, SetClientId, SetSourceId

Utility FunctionsLog, Schedule
ScopingSpan, Scope