GetTransactionCount

Estimated reading: 2 minutes 6428 views

This activity allows the user to fetch the transaction count for “New” and “locked” status from the connected project in Interact.

Properties

INPUT

FromDate: Specifies the starting date from which transaction count needs to be retrieved, based on the provided Status. Accepts values in String datatype. 

Tips

You can use DateTime.Now.ToString(“yyyy/MM/dd”) to enter the current date and retrieve the transaction count.

QueueName: *Specify the “Queue Name” to retrieve the transaction count for the specified queue Accepts values in String datatype.

QueueType: Specify the “QueueType to retrieve the transaction count for the specified queue. Accepts values in String datatype.

a. Processing
b. Business exception
c. System exception
d. Rejected
e. Completed
f. Harmony AI queues.

Status: *Specifies the Status of the transactions in Interact to fetch the count against it. Supported statuses are:

New: Fetches the count of transactions in the New state.
Locked: Fetches the count of transactions in the Locked state.
To fetch the count of transactions from both status at one time, you can use the following,
a. NewLocked
b. Both

You can either hardcode the values or provide them as input in String datatype.

ToDate: Specifies the end date until which transaction count should be retrieved, based on the provided Status. Accepts values in String datatype.

Tips

You can use DateTime.Now.ToString(“yyyy/MM/dd”) to enter the current date and retrieve the transaction count.

MISC

DisplayName: Displays the name of the activity. The activity name can be customized, which aids in troubleshooting.

SkipOnError: Specify the “Boolean” value as “True” or “False.”
True: Continue executing the workflow regardless of any errors thrown.
False: Halt the workflow if it encounters any errors.
None: If the option is left blank, the activity will, by default, behave as if “False” were chosen.

Version: It indicates the version of the feature being used.

OUTPUT

ResponseDatatable: * Displays the transaction count for the specified QueueName and QueueType in a tabular format.

Result: This parameter allows you to view the execution status of the activity and returns a value in “Boolean.”

True: Indicates that the activity has been executed successfully without any errors.
False: Indicates that the activity has been unsuccessful due to an unexpected error being thrown

* Represents mandatory fields to execute the workflow.

Share this Doc

GetTransactionCount

Or copy link

CONTENTS