Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Please refer to Using FacetScript for using FacetScript.Testing FacetScript

Table of Contents
 
minLevel
Constructs
3

...

outline

...

true

...

style

...

none

...

 

Functions

CategoryFunction NameDescriptionArguments
System Constructs   
 Log  
 Span  
 Scope  
 Schedule  
 If  
 Select  
 For  
Pipeline lifecycle Event Handlers   
 OnActivate  
 OnOpen  
 OnClose  
 OnDeactivate  
Pipeline Process Event Handlers   
 

ReceiveActivate

  
 ReceiveOpen  
 ReceiveRequest  
 ReceiveResponse  
 ReceiveError  
 ReceiveClose  
 ReceiveDeactivate  
Cache Commands   
 SetRequestData  
 AddRequestData  
 DelRequestData  
 SetResponseData  
 AddResponseData  
 DelResponseData  
 SetLocalData  
 AddLocalData  
 DelLocalData  
 SetProcessData  
 AddProcessData  
 DelProcessData  
 SetContextData  
 AddContextData  
 DelContextData  
 SetFacetData  
 AddFacetData  
 DelFacetData  
System Commands   
 SetServerId  
 SetClientId  
 SetSourceId  
Pipeline Operations   
 SetRequest  
 SaveRequest  
 PushRequest  
 PopRequest  
 SetResponse  
 SaveResponse  
 PushResponse  
 PopResponse  
Pipeline Processes   
 DelegateRequest  
 DeletegateResponse  
 Process  
Process   
 Macro  
 ProcessKeyword  
 ProcessWith  
Script   
 Script  
 ScriptEngine  
 JexlScript  
 JavaScript  

 

 

...

Testing FacetScript Snippets

FacetScript snippets can be tested as part of TQL Queries on any deployed project.. Prerequisites for each of these approaches is to Download and install Atomiton Stack locally on your personal host machine.

 Using SimpleModel Project:

  1. Import SimpleModel Project using locally deployed A-Stack User Interface (or from the your TQLStudio Cloud Account).
  2. Go to Query Editor Window and Create a new query, let's say ForEach and type enter any valid FacetScript.
  3. The results will be displayed either in log or as part of Query Response, depending on what snippet does

    Following Example prints ContextData on console.
    Image Added