Context data available in Emails

AMPI part created

Variable Name

Description

Variable Name

Description

user

User object of the recipient. Please take a look at the auth_user DB table, to get the up-to-date list of sub-variables

part

The created part. Please take a look at the b3_ampi_part DB table, to get the up-to-date list of sub-variables

AMPI part status change

Variable Name

Description

Variable Name

Description

user

User object of the part author. Please take a look at the auth_user DB table, to get the up-to-date list of sub-variables

part

The modified part. Please take a look at the b3_ampi_part DB table, to get the up-to-date list of sub-variables

status

The status object, that the part is transitioning to. Please take a look at the b3_ampi_status DB table, to get the up-to-date list of sub-variables

status_changed_by

User object of the person who changed the status. Please take a look at the auth_user DB table, to get the up-to-date list of sub-variables

comment

An optional comment about the transition

has_reasons

A boolean variable, indicating whether there are any reasons attached to the reasons variable

reasons

A list, possibly containing reason objects. Please take a look at the b3_ampi_statustransitionreason DB table, to get the up-to-date list of sub-variables

AMPI part status change expert

Same as Context data available in Emails | AMPI part status change.

AMPI part assigned

Variable Name

Description

Variable Name

Description

user

User object of the assignee. Please take a look at the auth_user DB table, to get the up-to-date list of sub-variables

part

The part that is being modified. Please take a look at the b3_ampi_part DB table, to get the up-to-date list of sub-variables

AMPI part unassigned

Same as Context data available in Emails | AMPI part assigned.

Comment created

Variable Name

Description

Variable Name

Description

author

User object of the comment’s author. Please take a look at the auth_user DB table, to get the up-to-date list of sub-variables

message

The comment

object_commented

User-friendly string representation of the commented object

object_commented_type

The class name of the commented object

object_commented_url

Link to the 3YM app, to the commented object

Comment edited

Same as Context data available in Emails | Comment created.

Order status change

Variable Name

Description

Variable Name

Description

name

Full name of the recipient

custom_message

Custom email body if one was provided

custom_subject

Custom email subject if one was provided

order

Order object that was modified. Please take a look at the b3_order_order DB table, to get the up-to-date list of sub-variables

order_url

Link to the 3YM app, to the modified order

organization_name

Name of the organization to which the order belongs

partner

Service object to which the order belongs. Please take a look at the partner_partner DB table, to get the up-to-date list of sub-variables

lines

A list of the order line objects belonging to the order. Please take a look at the b3_order_orderline DB table, to get the up-to-date list of sub-variables

delivery_time_string

User-friendly formatted string, expressing the delivery time range for the given order

Admin partner order placed

Same as Context data available in Emails | Order status change.

User order places

Same as Context data available in Emails | Order status change.

User shared order places

Same as Context data available in Emails | Order status change.

Partner quote from request created

Variable Name

Description

Variable Name

Description

quote_url

Link to the 3YM app, to the created quote

receiver

User object of the email recipient. Please take a look at the auth_user DB table, to get the up-to-date list of sub-variables

quote_full_number

The full number of the created quote

Partner request created

Variable Name

Description

Variable Name

Description

author

User object of the customer who created the request. Please take a look at the auth_user DB table, to get the up-to-date list of sub-variables

message

Message from the customer who created the request

request_url

Link to the 3YM app, to the created request

receiver

User object of the email recipient. Please take a look at the auth_user DB table, to get the up-to-date list of sub-variables

request_full_number

The full number of the created request

Shared access notification

Variable Name

Description

Variable Name

Description

project_number

Number of the project that is being shared

url

Link to the 3YM app, to the shared project

New attachment notification

Variable Name

Description

Variable Name

Description

user

User object of the email recipient. Please take a look at the auth_user DB table, to get the up-to-date list of sub-variables

sales_transaction

User-friendly string representation of the sales transaction, to which the attachment was attached to

sales_transaction_type

The class name of the sales transaction, to which the attachment was attached to

filename

The filename of the attachment

url

Link to the 3YM app, to the sales transaction, to which the attachment was attached to

Password reset key

Variable Name

Description

Variable Name

Description

user

The user object of the person who is resetting the password. Please take a look at the auth_user DB table, to get the up-to-date list of sub-variables

password_reset_url

Link to the 3YM app. When clicked, the user is redirected to the password reset form

username

The username of the person who is resetting the password

org_name

Name of the organization to which the user belongs

Email signup sent

Variable Name

Description

Variable Name

Description

confirmation_url

Link to the 3YM app. When clicked, the user gets their email confirmed

Email verification pending

Variable Name

Description

Variable Name

Description

user_id

The user ID of a person who has a pending verification

first_name

The first name of a person who has a pending verification

last_name

The last name of a person who has a pending verification

company

Company name of a person who has a pending verification

verify_url

Link to the 3YM app, to the org panel where the user can be verified

Email user verified legacy

Variable Name

Description

Variable Name

Description

user

The user object of the person who was verified, and who is at the same time the recipient of the email. Please take a look at the auth_user DB table, to get the up-to-date list of sub-variables

home_url

Home URL of the 3YM app

Email user verified new

Variable Name

Description

Variable Name

Description

user

The user object of the person who was verified, and who is at the same time the recipient of the email. Please take a look at the auth_user DB table, to get the up-to-date list of sub-variables

confirmation_url

Link to the 3YM app. When clicked, the user gets their email confirmed

Organization user password set key

Variable Name

Description

Variable Name

Description

user

The user object of the person who was invited, and who is at the same time the recipient of the email. Please take a look at the auth_user DB table, to get the up-to-date list of sub-variables

set_password_url

Link to the 3YM app. When clicked, the user gets routed to the set password page

org_name

Name of the organization to which the user belongs

username

Username of the user

Partner price error

Variable Name

Description

Variable Name

Description

price_failed_counter

Current indication of the failure counter for the given object

object

User-friendly string representation of the object for which the price calculation failed

object_link

Link to the 3YM app, to the object for which the price calculation failed

variables

String representation of the variables that were used to calculate the pricing formula

error

String representation of the error

Sales transaction rejection

Variable Name

Description

Variable Name

Description

name

Full name of the email’s recipient

url

Link to the 3YM app, to the sales transaction, that is being rejected

custom_message

Custom email body if one was provided

custom_subject

Custom email subject if one was provided

transaction_type

Human-friendly string representation of the sales transaction, that is being rejected

full_number

Full number of the sales transaction, that is being rejected