Accessing contact data in scripts
Operations in scripts allow for fairly flexible use of data stored in associated objects. For example, you can set the task assignee to be the contact in the "Carrier" custom field of the task being modified:
You can also use contact data that is "nested" at a deeper level. Use the triangle icon to go a level deeper:
Clicking this icon opens a list of contacts and the fields available at the next level:
You may also see an icon for going another level deeper. If you don't see another icon, that means there is no additional "nesting" for the given object.
This example allows you to add as a task assignee the employee who is the supervisor at the company added in the "Carrier" custom field for the current task: