# Reference: Actions

## [Math](https://docs.tivity.one/building-an-application/execution/scripting/functions/math-actions)

* Add
* Ceil
* Divide
* Increment
* Modulo
* Multiply
* Pow
* Round
* Square Root
* Subtract

## [System](https://docs.tivity.one/building-an-application/execution/scripting/functions/system-actions)

* ActionResult
* AddItem
* CheckoutDocument
* Close
* Condition
* Convert
* CopyContent
* CountDocumentPages
* CreateAndExecuteTemplate
* CreateInstance
* CreateLinkedInstance
* CreateLinkPath
* CreateSiblingInstance
* DataSourceOptionEscape
* DataSourceOptionObject
* DataSourceOptionWriter
* DeleteInstance
* Deprecated!ExecuteScript
* Deprecated!ExecuteSection
* Deprecated!Lock
* Dictionary
* Download
* DownloadFromInstance
* Entry
* ExecuteClassAction
* ExecuteClassWorkflow
* ExecuteFunction
* ExecuteInstanceAction
* ExecuteInstanceWorkflow
* ExecuteSection2
* ExecuteTemplate
* ExecuteTemplate2
* FinalizeDocument
* GetActionValue
* GetApplicationIdByKey
* GetBosLoginValue
* GetClassId
* GetClassValue
* GetClassValue
* GetCurrentInstance
* GetCurrentInstances
* GetCurrentUser
* GetCurrentUserLanguage
* GetDocument
* GetDocumentAsString
* GetDocumentValue
* GetDocumentAsByteArray
* GetEntry
* GetFieldName
* GetFieldNames
* GetFieldValue
* GetGroupRoles
* GetGroupUsers
* GetHtml
* GetInstance
* GetInstances
* GetKeys
* GetLanguage
* GetLinkedInstances
* GetLinkId
* GetLinkPath
* GetMainInstance
* GetOfficeUsers
* GetOldInstance
* GetRoleChildRoles
* GetRoleParentRoles
* GetRoleUsers
* GetTargetClassId
* GetTemplates
* GetTemplatesByClassId
* GetUser
* GetUser
* GetValue
* GetValues
* IdentityTable
* Input
* Inputs
* Layout
* LinkInstances
* List
* LoadNew
* Message
* ObjectDefaultValue
* ObjectOptions
* Open
* PackZip
* Parameter
* Parameter2
* ReduceLinkPath
* Refresh
* Reload
* RunSelection
* RunSelection
* SaveInstance
* Selection
* SetEntry
* SetValue
* StatusFeedback
* TableDefaultValue
* TableOptions
* UnpackZip
* UploadDocument
* Variable
* Variable2

## [Date](https://docs.tivity.one/building-an-application/execution/scripting/functions/date-actions)

* AddToDateTime
* AddToTimeSpan
* Now
* PartOfDateTime
* PartOfTimeSpan
* ToBeginOfMonth
* ToEndOfMonth

## [Collection](https://docs.tivity.one/building-an-application/execution/scripting/functions/collection-actions)

* All
* Any
* Count
* Distinct
* ElementAt
* First
* GetGroupKey
* GroupBy
* Last
* Many
* None
* One
* OrderAscending
* OrderDescending
* Reverse
* Select
* Single
* Skip
* Take
* Where

## [Logical Operators](https://docs.tivity.one/building-an-application/execution/scripting/functions/logicaloperators)

* And
* Not
* Or

## [Web](https://docs.tivity.one/building-an-application/execution/scripting/functions/web)

* AsJsonHttpResult
* DeserializeFromJson
* ExecuteHttpRequest
* HttpRequest
* JsonHttpContent
* SerializeToJson

## [Structure](https://docs.tivity.one/building-an-application/execution/scripting/functions/structure) <a href="#pragma-line-3754" id="pragma-line-3754"></a>

* Block
* Case
* Comment
* DoWhile
* Error
* ForEach
* IfThenElse
* Return
* Switch
* TryCatch
* While

## [Constants](https://docs.tivity.one/building-an-application/execution/scripting/functions/constants) <a href="#pragma-line-4020" id="pragma-line-4020"></a>

* Byte
* Char
* DateTime
* DateTime2
* DateTime3
* Double
* False
* Float
* Guid
* Int
* Language
* Long
* Null
* Short
* String
* TimeSpan
* TimeSpan2
* TimeSpan3
* True

## [Converters](https://docs.tivity.one/building-an-application/execution/scripting/functions/converters) <a href="#pragma-line-4471" id="pragma-line-4471"></a>

* CanBeDateTime
* CanBeInt
* ToDateTime
* ToDouble
* ToFloat
* ToGuid
* ToInt
* ToString
* ToTimeSpan

## [Commands](https://docs.tivity.one/building-an-application/execution/scripting/functions/commands) <a href="#pragma-line-4723" id="pragma-line-4723"></a>

* CloseCommand
* DownloadCommand
* DownloadFromInstanceCommand
* ExecuteCommands
* LoadNewCommand
* MessageCommand
* OpenCommand
* RefreshCommand
* ReloadApplicationCommand
* ReloadCommand

## [Text](https://docs.tivity.one/building-an-application/execution/scripting/functions/text) <a href="#pragma-line-5367" id="pragma-line-5367"></a>

* Concat
* Empty
* EndString
* Format
* FormatExpression
* IndexOf
* Join
* Length
* Match
* Matches
* MatchesCapture
* PadLeft
* PadRight
* Replace
* RestString
* Split
* StartString
* StripHtml
* SubString
* ToLower
* ToUpper
* Translate
* Translation
* Trim
* TrimLeft
* TrimRight

## [Operators](https://docs.tivity.one/building-an-application/execution/scripting/functions/operators) <a href="#pragma-line-6034" id="pragma-line-6034"></a>

* Contains
* EndsWith
* EqualsTo
* IsBigger
* IsBiggerEqualsTo
* IsEmpty
* IsInList
* IsMatch
* IsNull
* IsNullOrEmpty
* IsNullOrWhiteSpace
* IsSmaller
* IsSmallerEqualsTo
* StartsWith

## [PowerPoint](https://docs.tivity.one/building-an-application/execution/scripting/functions/powerpoint) <a href="#pragma-line-6384" id="pragma-line-6384"></a>

* CountSlides
* GetSlideThumbnail
* RemoveAllSlides
* RemoveAllSlidesExceptFor

## [QR-/Barcode](https://docs.tivity.one/building-an-application/execution/scripting/functions/qr-barcode) <a href="#pragma-line-6490" id="pragma-line-6490"></a>

* CreateBarcode
* ReadBarcode

## [Messaging](https://docs.tivity.one/building-an-application/execution/scripting/functions/messaging) <a href="#pragma-line-6560" id="pragma-line-6560"></a>

* CreateMsgDocument
* CreateMsgDocumentFromWord
* GetMailInstance
* GetMsgProperties
* Notify
* SendMessage
* SendMsgDocument
* SetMsgProperties
* SharedLinkInstance
* TransformMsgDocument

## [Cells](https://docs.tivity.one/building-an-application/execution/scripting/functions/cells)

* CalculateWorkbookFormula
* CalculateWorksheetFormula
* CalculateCellFormula
* CreateWorkspace
* LoadWorkbook
* SaveWorkbook
* InsertWorksheets
* GetWorksheetByIndex
* GetWorksheetByName
* RemoveWorksheets
* CellsStyle
* CellsBorder
* GetCellByIndex
* GetCellByName
* ReadColumn
* ReadRow
* ReadWorksheet
* MergeCells
* UnmergeCells

## [Xml](https://docs.tivity.one/building-an-application/execution/scripting/functions/xml) <a href="#pragma-line-6862" id="pragma-line-6862"></a>

* DictionaryToXml&#x20;
* InstanceToXml&#x20;
* XmlEscape
* XmlSelectNode
* XmlSelectNodes&#x20;
* XmlSelectNodeValue&#x20;
* XmlSelectNodeValues&#x20;
* XmlSetNodeValue&#x20;
* XmlToDictionary

## [Admin](https://docs.tivity.one/building-an-application/execution/scripting/functions/admin)

* AddUserToGroup
* AddUserToOffice
* DeleteUserFromGroup
* DeleteUserFromOffice

## [Integrations](https://docs.tivity.one/building-an-application/execution/scripting/functions/integrations) <a href="#pragma-line-7038" id="pragma-line-7038"></a>

* ScanBusinessCardWithAbbyy

### &#x20;<a href="#pragma-line-7040" id="pragma-line-7040"></a>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tivity.one/building-an-application/execution/scripting/functions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
