Question |
Answer |
Where can outboundDataURI be used? start learning
|
|
|
|
|
What is the purpose of outboundDataURI? start learning
|
|
It defines an outbound endpoint that an edit page can call to send data to an external or Workday REST API.
|
|
|
What fields are required for each outbound endpoint in outboundEndPoints[]? start learning
|
|
url, baseUrlType, name, and authType.
|
|
|
Is httpMethod required for Outbound? start learning
|
|
No. The default is POST, so httpMethod is only needed when you want to use another method.
|
|
|
What does the baseUrlType attribute specify? start learning
|
|
It specifies a dataProvider key defined in the AMD
|
|
|
What does the name attribute do? start learning
|
|
It allows you to reference the outbound endpoint when binding a field to a tag value.
|
|
|
What does the authType attribute specify? start learning
|
|
It specifies the authentication type ID defined in authTypes[] in the Site Metadata (SMD).
|
|
|
Where is the data provider referenced by baseUrlType defined? start learning
|
|
In the App Metadata (AMD).
|
|
|
What does baseUrlType point to? start learning
|
|
A dataProvider key in the AMD.
|
|
|
What does the AMD data provider define? start learning
|
|
It defines the base URL used by the outbound endpoint.
|
|
|
What is the relationship between baseUrlType and the AMD? start learning
|
|
baseUrlType references the AMD data provider's key, whose value contains the base URL.
|
|
|
Example: what does baseUrlType: "workday-procurement" reference? start learning
|
|
It references the AMD data provider with:
|
|
|
If baseUrlType is workday-procurement and url is /requisitions, what is the resulting endpoint? A: The endpoint resolves to: start learning
|
|
https://api. workday.com/procurement/v3/requisitions
|
|
|
Where are authentication types defined for PMDs? start learning
|
|
In authTypes[] in the Site Metadata (SMD).
|
|
|
What authentication type do Workday REST APIs use by default? start learning
|
|
|
|
|
What special rule applies to authentication schemes other than ISU? start learning
|
|
You can use the scheme value from the SMD as the authType value in PMDs.
|
|
|
Can outboundDataURI be used on view pages? start learning
|
|
|
|
|
What are the four required outbound endpoint fields? start learning
|
|
url, baseUrlType, name, authType.
|
|
|
Example of outboundEndPoints start learning
|
|
"outboundData": {"outboundEndPoints": [{"name": "submitRequisition", "url": "/requisitions", "authType": "sso", “httpmethod”:”POST”, "baseUrlType": "workday-procurement"} ]}
|
|
|
Example of valuesOut in a widget start learning
|
|
{"id": "supOrg", "enabled": "<% size(superOrgs. value)!= 1 %>", "type": "instanceList", "label": "SupOrg", "valuesOut": [{"value": "<% self. value[0] %>", "valueOutBinding": "simaBO. supervisoryOrganization. id"} ]}
|
|
|
What is the timeout for an individual endpoint on a Presentation Component page? start learning
|
|
|
|
|
What happens if an individual endpoint exceeds 24 seconds? start learning
|
|
It returns a timeout error.
|
|
|
What is the total request timeout on a Presentation Component page? start learning
|
|
|
|
|
What can be included in the 60-second request? start learning
|
|
Initial page loads, page submissions, and remote validations.
|
|
|
What must happen if multiple endpoints are called in one request? start learning
|
|
All operations must complete within the 60-second request limit.
|
|
|
How can you invoke an outbound endpoint conditionally? start learning
|
|
Use the exclude attribute.
|
|
|
Does an endpoint failure roll back previous successful outbound requests start learning
|
|
No. If one outbound endpoint fails, updates from preceding outbound requests aren't rolled back.
|
|
|
In what order are multiple outbound endpoints invoked? start learning
|
|
In the order in which they are defined in outboundEndPoints[].
|
|
|
Does an endpoint failure roll back previous successful outbound requests? start learning
|
|
No. If one outbound endpoint fails, updates from preceding outbound requests aren't rolled back.
|
|
|
Can a PMD script use the invoke method to call an outbound endpoint? start learning
|
|
|
|
|
What can the invoke method call instead? start learning
|
|
A deferred inbound endpoint, which can be an Orchestration that performs additional processing.
|
|
|
Which event can be used to construct or manipulate the outbound request body? start learning
|
|
|
|
|
|
start learning
|
|
workersPositionDataDeferred. invoke({'supervisoryOrganizationId': supervisoryOrganization. value[0]})
|
|
|
When should you use valuesOut[] instead of valueOutBinding start learning
|
|
When a widget contains multiple related values that need to be submitted to different outbound fields.
|
|
|
The request body of an outbound endpoint oftentimes contains a data collection or a list of records. To bind an outbound field within a list in a valueOutBinding, specify the list [] notation in the field path. Example: start learning
|
|
"valueOutBinding": "outboundEndpointName. listName[]. fieldPath
|
|
|
Example of valueOutBounding in Widget start learning
|
|
{"type": "text", "id": "quantityText", "label": "Quantity", "valueOutBinding": "submitRequisition. requisitionLines[0]. quantity"},
|
|
|
Example of valueOutBounding in Widget start learning
|
|
{"type": "text", "id": "location", "label": "Event Location", "required": "<% true %>", "value": "<% event. location %>", "valueOutBinding": "updateEvent. location"},
|
|
|
Example of valueOutBounding in Widget start learning
|
|
{"type": "currency", "currencyCode": "USD", "id": "cost", "label": "Fee (USD)", "valuesOut": [{"value": "USD", "valueOutBinding": "updateEvent. cost. currency"}, {"value": "<%self. value%>", "valueOutBinding": "updateEvent. cost. value"} ]}
|
|
|