Bixby Developer Center

Guides

transaction

Provides access to archived concepts by type. This typically means that these archived concepts are in the Activity stage of a transactional workflow. If you need to differentiate between different activities within a capsule, you need to set a specific $id property. For more information, see Transactional Workflows.

var transaction = require('transaction');

transaction.retrieve(type, state, limit)

Look up an archived concepts by type, with optional TransactionState and limit (default is 20). Archived concepts are ordered by descending date.

Kind: Static method of transactionAccess: Public

ParamTypeDescription
typeStringThe concept type to retrieve
stateStringThe activity state. You can specify one of the activity state keys, PENDING to indicate SCHEDULED or RELEVANT, or ALL to indicate all states. Default is ALL.
limitIntegerThe number of concepts to retrieve (You can retrieve as many as needed, but the default is 20.)