I have an entityform created with a userreference field named "field_client_services_manager".

I have an entityform_task created with a instance name of "foo_implementation".

I have a "Set Process Variable" task created in my workflow to set the process variable "client_services_manager" to "foo_implementation:field_client_services_manager", but I get the following error once the entityform_task is completed:

Notice: Undefined property: stdClass::$0 in maestro_entityform_task_maestro_set_process_variable_handler() (line 295 of /home/workflow/public_html/sites/all/modules/maestro_entityform_task/maestro_entityform_task.module).

and a maestro log entry of:
Failed Task: 30, Process: 10, Step Type: MaestroTaskTypeSetProcessVariable, workflow: Foo Implementation

I'm not sure if this is something I have misconfigured or if it is a bug... is there something I shoudl be looking at?

Comments

kevin.klika’s picture

Status: Active » Closed (works as designed)

For anyone having the same problem...

If you are using a USER field on an ENTITYFORM, you must select the value in your "Set Process Variable" by using the following syntax:
instance:field_name:uid

I was missing the "UID" part.

reg’s picture

This type of mistake can also create the following error:

Notice: Undefined offset: 1 in maestro_entityform_task_maestro_set_process_variable_handler() line 272 of maestro_entityform_task.module