Set process variable is not able to set if the value of a field is None.
field_view_field('node',$node_entity[$nid],$field_name); returns an empty array if the field value is none.
To get around this I had content_type_task_maestro_set_process_variable_logic() return a -1. I would have it return 0 but then the set process variable would not complete.
Here is the code I used after line 1043:
if(!isset($data['#items'][0][$field_data_column])) {
return -1;
}
Here is my work flow maybe there is a better way to accomplish this:

This is not ideal because I would really like it to return 0 as I am checking if the variable is > 0 in the next if step.
| Comment | File | Size | Author |
|---|---|---|---|
| set-process-variable.png | 29.05 KB | haydeniv |