Versions Compared

Key

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


SFC Functions

The following functions give you access to interact with the SFCs in the Gateway.


Next_link



Chart Scope Variables

There are a number of built-in variables maintained by the SFC engine that can be read through the chart scope.

Note_friendly

Certain chart scoped variables may interfere with the internal functions of the chart. For example, creating a variable like chart.values will conflict with a pyDictionary's values() method and therefore the chart will show an error. Since SFC charts use Python Dictionaries to manage chart scoped variables the methods associated with Python Dictionary's act like reserved words.

Variable Name

Description

chart.instanceIdThe string UUID of the running chart instance
chart.startTimeA java.util.Date object that indicates when the chart instance started running.
chart.runningTimeAn integer representing the number of seconds the chart has been running for.
chart.parent

The chart scope of the enclosing chart (if any). null if this chart was not executed as part of an enclosing step.

chart.running

Returns true if the chart is in the running state

chart.state

An integer representing the state of the chart as the following:  

0 Aborted 
1 Aborting
2 Cancelled
3 Canceling
4 Initial
5 Paused
6 Pausing
7 Resuming
8 Running
9 Starting
10 Stopped
11 Stopping

Section

Functions by Scope

Expand
titleGateway-scoped functions


Content by Label
showLabelsfalse
max100
showSpacefalse
sorttitle
titleGateway Scope
excludeCurrenttrue
cqllabel = "gateway" and ancestor = currentContent()

Expand
titleVision-scoped functions

Content by Label
showLabelsfalse
max100
showSpacefalse
sorttitle
titleVision Scope
excludeCurrenttrue
cqllabel = "vision" and ancestor = currentContent()

Expand
titlePerspective-scoped functions

Content by Label
showLabelsfalse
max100
showSpacefalse
sorttitle
titlePerspective Scope
excludeCurrenttrue
cqllabel = "perspective" and ancestor = currentContent()