- TIBCO BusinessEvents®
- Standard
- Instance
- StateMachine

# Instance.StateMachine.getCurrentStatePaths()

## Signature

`String[] getCurrentStatePaths(Concept instance)`

## Domain

ACTION, CONDITION, QUERY, BUI

## Description

Returns an array of the full paths of current states (if any). The state machine could be concurrently in many states so all the active state paths are returned. The returned paths are the runtime paths which could be different from their design time equivalents. The state name is nested; e.g., A$B implies B as a sub-state within A.

## Parameters

Name | Type | Description
--- | --- | ---
`instance` | `Concept` | The Concept instance on which to get the state machine state paths.

## Returns

Type | Description
--- | ---
`String[]` | An array of all the current state paths.

## Cautions

none