K4 ServerK4Workflows

K4 Workflows

Instance Properties

Name Description Access
length number The number of objects in the collection. read-only

Methods

anyItem(
)
 → K4Workflow
count(
)
 → number
item(
index)
 → K4Workflow
itemByRange(
from, to)
 → K4Workflow
k4GetById(
k4Id)
 → Object
k4GetByName(
k4Name)
 → Object
lastItem(
)
 → K4Workflow
nextItem(
obj)
 → K4Workflow
previousItem(
obj)
 → K4Workflow
toSource(
)
 → string
anyItem(
)
 → K4Workflow
Returns any K4Workflow in the collection.
count(
)
 → number
Displays the number of elements in the K4Workflow.
everyItem(
)
 → K4Workflow
Returns every K4Workflow in the collection.
firstItem(
)
 → K4Workflow
Returns the first K4Workflow in the collection.
item(
index)
 → K4Workflow
Returns the K4Workflow with the specified index or name.
index The index or name. Can accept: Long Integer or String.
itemByRange(
from, to)
 → K4Workflow
Returns the K4Workflows within the specified range.
from The K4Workflow, index, or name at the beginning of the range. Can accept: K4Workflow, Long Integer or String.
to The K4Workflow, index, or name at the end of the range. Can accept: K4Workflow, Long Integer or String.
k4GetById(
k4Id)
 → Object
K4 Get By ID
k4Id string K4 ID
k4GetByName(
k4Name)
 → Object
K4 Get By Name
k4Name string K4 Name
lastItem(
)
 → K4Workflow
Returns the last K4Workflow in the collection.
middleItem(
)
 → K4Workflow
Returns the middle K4Workflow in the collection.
nextItem(
obj)
 → K4Workflow
Returns the K4Workflow whose index follows the specified K4Workflow in the collection.
obj K4Workflow The K4Workflow whose index comes before the desired K4Workflow.
previousItem(
obj)
 → K4Workflow
Returns the K4Workflow with the index previous to the specified index.
obj K4Workflow The index of the K4Workflow that follows the desired K4Workflow.
toSource(
)
 → string
Generates a string which, if executed, will return the K4Workflow.