...
Once request data is presented in a universal fashion (as an instance of ListMap data structure), engine invokes appropriate facet type method using current connection context and facet instance information as arguments.
When to use FacetScript
From TQLEngine implementation perspective FacetScript can be used within following Facet Types. Using FacetScript is optional and completely dependent on the developer role. For example, if you are a business analyst responsible for only writing simple TQL queries then using FacetScript is optional.
FacetScript Support in FacetTypes
FacetType | FacetScript Supported | Required | Examples |
---|---|---|---|
SffMsgFacet | Yes | Optional | |
SffTqlFacet | Yes | Optional | |
SffWdlFacet | Yes, when wrapped within Workflow Task's Invoke | Optional |
...
Mandatory within Package Definition
Using FacetScript is mandatory when defining a new package. It is in the new New package definition where developers specify contains the list of FacetTypes they want to start within the running that the developer intends to deploy in TQLEngine.