I am trying to create a rule component for VBO. I am able to set the field if I hardcode the value in the field, but it's not working with a text parameter.

Here's my rule:

Parameters:
Library: Node
State: Text

Conditions:
Entity is of bundle (library)
Entity has field (field_address)

Actions:
Set a data value [library:field-address:administrative-area] (Works with hardcoded state value such as TX, but not State parameter)

Here's the error from the rules debug:
Unable to modify data "library:field-address:administrative-area": Invalid data value given. Be sure it matches the required data type and format.

Comments

mortona2k created an issue.