Custom Javascript Field Mapping and Bulk Jobs

When a field is created solely through the custom Javascript of a Common Resource and not included as part of the Object Definition, this field is not going to be immediately available when using the Common Resource with Bulk. The bulk job only checks for the existing mapped values that are defined in the Object Definition; the values are not being added dynamically on the fly.

However, there are some available workarounds that will allow you to retrieve these fields using bulk:

  • Add a placeholder: In the Common Resource transformation, add a placeholder in order to fetch the fields mapped through. For example, mapping the field to _JS
  • Select fields: In your bulk query's CEQL field, select individual fields instead of using a wildcard: