Salesforce - オブジェクトスキーマの取得アクション
このアクションは、Salesforceの標準オブジェクトまたはカスタムオブジェクトのスキーマを取得します。 Salesforceオブジェクトのフィールドをデータウェアハウスに複製する必要がある場合は、このアクションを使用します。
入力
| 入力項目 | 説明 |
|---|---|
| オブジェクト | スキーマの取得元となる標準オブジェクトまたはカスタムオブジェクトのタイプを選択します。 |
| 代理ユーザーのメールアドレス | 任意です。 代理実行するSalesforceユーザーのメールアドレスを入力します。 このフィールドを有効にするには、Workato Customer Success Managerにお問い合わせください。 このフィールドはJWTコネクションのみをサポートします。 |
出力
| 出力フィールド | 説明 |
|---|---|
| オブジェクト名 | オブジェクトの名前。 |
| オブジェクトラベル | オブジェクトのラベル。 |
| カスタムオブジェクト? | オブジェクトがカスタムかどうかを示します。 |
| フィールド | オブジェクトのフィールドに関する情報(Field name、Field label、Typeなど)を含みます。 これには、接続済みアカウントが表示できるフィールドのみが含まれます。表示可能なフィールドは、そのアカウントのフィールドレベルセキュリティ設定によって定義されます。 |
返されるフィールドの詳細については、Salesforce APIドキュメントを参照してください。
次の例は、Commission__cという名前のカスタムsObjectのスキーマを取得した出力を示しています:
Commission__cカスタムsObjectの出力
json
{
"name":"Commission__c",
"label":"Commission",
"custom":true,
"fields":[
{
"name":"Id",
"label":"Record ID",
"custom":false,
"length":18,
"scale":0,
"precision":0,
"type":"string"
},
{
"name":"OwnerId",
"label":"Owner ID",
"custom":false,
"length":18,
"scale":0,
"precision":0,
"type":"string"
},
{
"name":"IsDeleted",
"label":"Deleted",
"custom":false,
"length":0,
"scale":0,
"precision":0,
"type":"boolean"
},
{
"name":"Name",
"label":"Commission Name",
"custom":false,
"length":80,
"scale":0,
"precision":0,
"type":"string"
},
{
"name":"CreatedDate",
"label":"Created Date",
"custom":false,
"length":0,
"scale":0,
"precision":0,
"type":"string"
},
{
"name":"CreatedById",
"label":"Created By ID",
"custom":false,
"length":18,
"scale":0,
"precision":0,
"type":"string"
},
{
"name":"LastModifiedDate",
"label":"Last Modified Date",
"custom":false,
"length":0,
"scale":0,
"precision":0,
"type":"string"
},
{
"name":"LastModifiedById",
"label":"Last Modified By ID",
"custom":false,
"length":18,
"scale":0,
"precision":0,
"type":"string"
},
{
"name":"SystemModstamp",
"label":"System Modstamp",
"custom":false,
"length":0,
"scale":0,
"precision":0,
"type":"string"
},
{
"name":"Rate__c",
"label":"Rate",
"custom":true,
"length":0,
"scale":0,
"precision":18,
"type":"string"
},
{
"name":"Name__c",
"label":"Name",
"custom":true,
"length":0,
"scale":0,
"precision":18,
"type":"double"
},
{
"name":"User__c",
"label":"User",
"custom":true,
"length":18,
"scale":0,
"precision":0,
"type":"string"
}
]
}Last updated: