compare_metadata
Compare OData metadata across two SAP SuccessFactors instances to find configuration drift, missing fields, and changed attributes per entity or service.
Instructions
Compare the OData configuration of two instances and return the drift.
entity="EmpJob" compares one entity set; entity="" compares the whole service (v4: a service path, as in odata_metadata). The comparison runs here, not in the conversation: one instance's EmpJob metadata alone is ~40 KB, so diffing two of them in context is both expensive and easy to get wrong.
Returns in_sync plus, per entity, the fields missing on either side and the
fields whose attributes differ, each as [value_in_a, value_in_b]. The sap:
attributes are the configuration itself — required, visible, upsertable,
picklist, MaxLength — so a changed picklist or a field that never left the
dev instance shows up here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | No | ||
| company_a | Yes | ||
| company_b | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||