Salesforce - オブジェクトスキーマの取得アクション

このページは機械翻訳により提供されています。翻訳内容と英語版に相違がある場合は、英語版が優先されます。

このアクションは、Salesforceの標準オブジェクトまたはカスタムオブジェクトのスキーマを取得します。 Salesforceオブジェクトのフィールドをデータウェアハウスに複製する必要がある場合は、このアクションを使用します。

入力

入力項目説明
オブジェクトスキーマの取得元となる標準オブジェクトまたはカスタムオブジェクトのタイプを選択します。
代理ユーザーのメールアドレス任意です。 代理実行するSalesforceユーザーのメールアドレスを入力します。 このフィールドを有効にするには、Workato Customer Success Managerにお問い合わせください。 このフィールドはJWTコネクションのみをサポートします。

出力

出力フィールド説明
オブジェクト名オブジェクトの名前。
オブジェクトラベルオブジェクトのラベル。
カスタムオブジェクト?オブジェクトがカスタムかどうかを示します。
フィールドオブジェクトのフィールドに関する情報(Field nameField labelTypeなど)を含みます。 これには、接続済みアカウントが表示できるフィールドのみが含まれます。表示可能なフィールドは、そのアカウントのフィールドレベルセキュリティ設定によって定義されます。

返されるフィールドの詳細については、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: