Tokens for entity reference field are printed in the format of: "term name (tid)"

Created on 24 July 2018, over 6 years ago
Updated 14 February 2023, almost 2 years ago

Tokens for entity reference field are printed in the format of:
"term name (tid)"

To create the issue:
1) I created a webform named (Favorite Color) with one "entity reference field" for the "taxonomy Color"

2) I configured a "rule" as below:

EVENT
Entity Insert
Webform Submission of type Favorite Color

ACTIONS
Set values to entity variable (Article Variable)
Save Entity Variable (Article Variable)

Below is the configuraion image for the action "Set values to entity variable":

Results:
After submitting the above webform (Favorite Color).
_ New Article node is created. (working)
_ Node Title is set to: "This is new node created using the Business rules module". (working)

for now all is good, However:
_ Node Body field is set in the following format: Taxonomy term (TermID)

See below image for example:

Problem/Question:
How to copy only the VALUE of the taxonomy term ?

for example: Red and not Red (12)

Thank you and best regards,

πŸ› Bug report
Status

Active

Component

Code

Created by

πŸ‡±πŸ‡§Lebanon C.E.A

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024