Node parameters reading
  • 04 Aug 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Node parameters reading

  • Dark
    Light
  • PDF

CallbackURL

Allows getting a CallbackURL of a Waiting for Callback node dynamically.

callback_url(2)

// Returns Corezoid or Mandrill CallbackURL by {{node_id}}

    {{node[{{node_id}}].public_callback_corezoid}}

    {{node[{{node_id}}].public_callback_mandrill}}

// Returns Corezoid or Mandrill CallbackURL by {{node_id}} from {{conv_id}} process

    {{conv[{{conv_id}}].node[{{node_id}}].public_callback_corezoid}}
    
    {{conv[{{conv_id}}].node[{{node_id}}].public_callback_mandrill}}

Count

Depending on the number of task in the node you can customize business-process logic.

Returns the amount of tasks in a node with the specified ID.

Example:

// Node ID = 561a272782ba961374d44178

    {{node[561a272782ba961374d44178].count}}

// Returns amount of tasks in the node specified by the parameter {{node_id}}

    {{node[{{node_id}}].count}}

// Returns amount of tasks in the node specified by the parameter {{node_id}} from {{conv_id}} process

    {{conv[{{conv_id}}].node[{{node_id}}].count}}

Sum

Returns the sum value of the selected task parameter.

Example:

// Node ID = 561a272782ba961374d44178

    {{node[561a272782ba961374d44178].SumID}}

// Returns amount by SumID parameter from node {{node_id}}

    {{node[{{node_id}}].SumID}}

// Retuns amount by SumID parameter from {{node_id}} from {{conv_id}} process

    {{conv[{{conv_id}}].node[{{node_id}}].SumID}}

How to get nodes ID?

node_id_1


Was this article helpful?