若要完成 DescribeObjects 編排,您可以將輸出對映至輸入資料,並將物件 meta 資料轉換成 XML 格式,以符合 ci-connector-api.xsd 檔,然後測試編排。
< DescribeObjectResponse
baseType = "sObject"
baseTypeNS = "urn:sobject.partner.soap.sforce.com"
name = "create"
typeNS = "http://example.com/stockquote"
xmlns = "http://www.approuter.com/schemas/cdk/api/"
xmlns:con = "http://www.approuter.com/schemas/cdk/config/"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" >
< object
label = "createInput"
maxCount = "1"
minCount = "1"
name = "createInput"
used = "true" >
< con:field
configurable = "true"
label = "ObjectName"
maxCount = "1"
minCount = "1"
name = "ObjectName"
used = "true" >
< con:type > string </ con:type >
</ con:field >
< con:field
configurable = "true"
label = "FirstName"
maxCount = "1"
minCount = "1"
name = "FirstName"
used = "true" >
< con:type > string </ con:type >
</ con:field >
< con:field
configurable = "true"
label = "LastName"
maxCount = "1"
minCount = "1"
name = "LastName"
used = "true" >
< con:type > string </ con:type >
</ con:field >
< con:field
configurable = "true"
label = "Phone"
maxCount = "1"
minCount = "1"
name = "Phone"
used = "true" >
< con:type > string </ con:type >
</ con:field >
</ object >
< responseObject
label = "createOutput"
maxCount = "1"
minCount = "1"
name = "createOutput"
used = "true" >
< con:field
configurable = "true"
label = "Id"
maxCount = "1"
minCount = "1"
name = "Id"
used = "true" >
< con:type > string </ con:type >
</ con:field >
< con:field
configurable = "true"
label = "ObjectName"
maxCount = "1"
minCount = "1"
name = "ObjectName"
used = "true" >
< con:type > string </ con:type >
</ con:field >
< con:field
configurable = "true"
label = "Status"
maxCount = "1"
minCount = "1"
name = "Status"
used = "true" >
< con:type > string </ con:type >
</ con:field >
</ responseObject >
</ DescribeObjectResponse >