Process Designer: Accessing Legacy Custom fields from Custom Process
I am working on creating a custom process for incident which creates another related incident based on a custom field's value. The problem is that I am not able to access the custom fields value from custom process.
I am able to access values of System Atributes, it's only with the legacy custom fields that I am facing this issue.
This is what I am doing in my apply method of custom process:
$field_one = $object->CustomFields->TestPackage->Field1;
$field_two = $object->CustomFields->c->field2;
field_one returns me a value from the object but field_two is always null. And I am able to update this custom field but not access it.