tokenActionBlock

This block is responsible in performing automatic actions on the token.

Properties

Block PropertyDefinitionExample InputStatus

tag

Unique name for the logic block.

tokenActionBlock

permissions

Which entity has rights to interact at this part of the workflow.

VVB

defaultActive

Shows whether this block is active at this time and whether it needs to be shown.

Checked or unchecked.

On errors

Called if the system error has occurs in the Block

  • No action

  • Retry

  • Go to step

  • Go to tag

Stop Propagation

End processing here, don't pass control to the next block.

Checked or unchecked.

Token

The token which is affected by the action

iREC token

Account Type

The type of the account under which the action is performed. If set to β€˜Default’ the account of the currently logged in user is used (i.e. the owner of the document).

If set to β€˜Custom’ the account specified in the β€˜accountId’ field is used.

Custom

Account Id (Field)

The value from this field is used as the ID of the account under which the action is performed when β€˜Account Type’ is set to β€˜Custom’.

field0

Action

Action to be performed on Token

  • Associate

  • Dissociate

  • Freeze

  • Unfreeze

  • Grant Kyc

  • Revoke Kyc

Use Template

This needs to be enabled if we need to use token template, which is created already.

Enabled or Disabled

Token Template

Which will take created tokenId from input document by template name

token_template_0

Note:

  1. Only fields of β€˜Hedera Account’ type can be used for β€˜accountId’.

  2. If the field specified in the β€˜accountId’ is not found in the current document then the system will look for it in the parent documents.

  3. β€˜Associate’ and β€˜Dissociate’ actions are not available when β€˜Account Type’ is set to β€˜Custom’. For these operations β€˜tokenConfirmationBlock’ should be used instead.

Actions

Action NamePurpose

Associate

Links the account with the token. This operation is required to enable the account to perform transactions (including receiving) with the token.

Dissociate

Removes the aforementioned β€˜link’.

Freeze

Freezes the account

Unfreeze

Unfreezes the account

Grant KYC

This action is mandatory if the token is configured to require KYC. The owner of the token is required to β€˜grant KYC’ to enable transactions with the account.

Revoke KYC

This revokes the account’s permission to participate in transactions with the token.

Last updated