click below
click below
Normal Size Small Size show me how
Info Exchange 18%
Information Exchange (18%) CSSA study
| Question | Answer |
|---|---|
| What are connectors? | Pega gets necessary information from an external system |
| How do connectors exchange data? | 1 Data page or activity -which dt 2 Data transforms -Maps ur app to the integration clipboard pages 3 Connector rule -make request, invokes service, & parses 4 Mapping rules -builds & parses messages 5 External system -Exposes service |
| What are the steps execute connector invocation? | 1. The data page or activity executes a dt to map the data from ur app 2 the integration clipboard pages 2. The data page or activity invokes the connector 3. A dt maps the response data from the integration clipboard data structure to ur app |
| What are Services? | An external system gets necessary information from Pega |
| What do service listeners do? | listen for requests and establish requestors |
| What is a requestor? | the processing and data associated with the incoming request initiated by the external system |
| What happens when a request comes from an external system? | The service listener starts service & makes a requestor The service parses the request and maps it 2 the clipboard. The service starts the service activity The service builds the response & the service listener sends the response 2 the external system |
| When would you use integration simulation? | useful in situations when the external service is not available or when you want to dictate the response returned, or during testing |
| When do you simulate an integration? | You simulate an integration when the service is not available or when the response needs to be dictated. |
| What rules can you use to simulate a data page? | data transform, report definition, or activity |
| How can you get an overview of simulated data pages in your application? | Dev Studio, select Configure > Data Model > View external data entities |
| In app studio, how do you find a list of simulated data pages? | from the Integration Designer |
| What does it mean when a source system is has a green dot? | It's production ready |
| What does it mean when a source system is has a orange triangle? | It's simulated |
| What do you use to define simulation data for an integrator activity? | A data transform |
| Where can you find an overview of available connectors and their simulations? | Connectors landing page (Configure > Integration > Connectors > Connector Definitions & Simulations) |
| True or False. Connector simulations are not available out-of-the-box. | True |
| True or False. Simulation is not available for SQL connectors. | True |
| How are connectors simulated? | Using a simulation activity |
| What are the steps to enable simulation of a connector? | 1. Navigate to the connector you want to simulate. 2. Specify the simulation activity. 3. Select the scope: Global or User session. 4. Apply the changes to activate the simulation. |
| When do you use the simulation option in a data page? | When the connector has not yet been generated |
| How do you create a simulation activity? | 1 Create a dt in same class as connector 2 Use request values 2 make resp incomin values 3 Set values on resp page 2 simulate resp from external service 4. Create simulation activity in same class as connector 5 Apply dt in simulation activity |
| What are transient errors? | errors that are typically do not last long; they correct themselves over time |
| What are permanent errors? | errors that are typically due to a configuration error or an error in the remote application logic |
| What type of errors typically correct themselves over time? | Transient |
| What are the best practices when connectors are invoked from data pages or activities? | Add error detection for all data pages and activities. Use a reusable data transform to handle errors |
| Why are connectors are used with data page? | To read data from an external system |
| When should data source errors be handled? | In the data page load mechanism since data pages are loaded on demand |
| Which rules use a response data transform to detect errors? | Connectors, report definitions, and lookups |
| What is the standard error handling data transform? | pxErrorHandlingTemplate |
| Why are connectors are used with activities? | to write data to external systems |
| What do activities use to detect errors? | use a transition condition in the activity step |
| How do you add error detection in an activity? | 1.Make label 4 err handlin step 2. Jump = transition condition 3.Use StepStatusFail when condition to detect errs. Jump 2 err step when err occurs 4.u can use error handling data transform. Use Apply-DT method. In the err handlin step, pick ur dt |
| When is the error handling flow used to detect errors? | when errors are not detected in a data page or an activity |
| In data pages, a best practice is to detect errors in the __________. | response data transform |
| When is the Error handling data transform used for a connector? | When errors are detected in a response data transform in a data page OR a Transition condition in an activity |
| What happens when an error response is immediately necessary? | An error message is displayed, and the error is written to the log file |
| When is the error handler flow used? | when the error response is not immediately needed |
| Where do you configure the error handler flow? | On the service tab of the connector |
| What error handler flow do connectors use? | ConnectionProblem flow |
| What does the error handler flow do? | The flow checks for transient errors first and if there isn’t any then FlowProblems takes over. Which then goes to a problem flow workbasket or notifies an operator |
| When would you use an error handler flow for your connector? | You would use it when the response is not immediately needed and a process for handling the error is required |
| What is the Global resource settings (GRS) pattern? and when do you use it? | to references to external systems, it helpful when the values for settings can vary based on the environment without updating integration rules and data instances. |
| How do you create a global resource settings? | 1. Create (or identify) a class with the configuration settings 2. Create the environment properties 3. Create a data transform to assign values to the environment properties 4. Create or access a data page to load the settings |
| How can you avoid unlocking a ruleset to update resource settings? | Dynamic System Settings, Java System Property, Java Properties File, and JNDI Entry |
| What do you have to do to passwords before you can use them in rules or data instances? | You must use Base64 encoding |
| How do you encode passwords? | the Encode() function |
| What is the most significant benefit of using global resource settings? | The most significant benefit is the ability to reference external systems in a way that can vary depending on environment, without requiring the update of integration rules and data instances. |
| True or False. Global resource settings have to be in the same class as the integration rules | False, Global resource settings have to be in the same ruleset as the integration rules |
| True or False. The environmental variables should be packaged as part of the application | False, The environmental variables should not be packaged as part of the application since that would overwrite the settings on the target system when an application is migrated. |
| What is the syntax for a global resource settings? | DataPageName.IntegrationPropertyName.FieldPropertyName |
| What is the execution-time sequence for determining the Endpoint URL for the SOAP connector? | 1.The SOAP Connector is invoked 2. A data page property is referenced 3. The DT for data page is executed if page isnt available on clipboard 4. The DT invokes a utility function to obtain value 5. The value is used SOAP connector to start the service |
| What are the two ways to expose your service? | create a web service or leverage the Pega API |
| What is the purpose of using a condition in a SOAP exception? | A condition allows you to add a custom error message to the response. |
| When does the application return a defined error message to the calling application? | When the service encounters a processing error, and a condition evaluates to true |
| What are the available conditions for a processing error? | When, Queue When, Mapping Error, Security Error, Service Error |
| What are the types of Pega APIs | Assignment, Authenticate, Cases, Casetypes, Data, and Docs |
| What is the purpose of a service? | A service allows other applications to access your application. |
| What does the PegaRULES database contain? | It contains all of the rules and system information for a Pega application |
| What does the PegaDATA database contain? | It contains information such as cases, assignments, and case history |
| What is an external class? | a concrete class (instance of the Rule-Obj-Class rule type) that corresponds to a table in an external relational database |
| What are the defining characteristics of an external class? | It cannot have a class group, no pzInsKey or pxObjClass, and maps Pega properties to database columns |
| Obj-Open | opens the object you read |
| Obj-Browse | searches the database, retrieves multiple records, and copies them to the clipboard as an array of embedded pages |
| Obj-Refresh-and-Lock | tests whether a clipboard page is current and if a lock is held. If the object is not locked, the activity acquires a lock and refreshes the page if it's stale |
| Obj-Save | saves the contents of a clipboard page to the database |
| WriteNow | is a paramater when used in conjunction with Obj-Save immediately writes the object to the database |
| Obj-Delete | used to delete a database row identified by a page on the clipboard |
| Obj-Delete-By-Handle | used to delete an instance using its unique ID without requiring a page on the clipboard |
| Obj-Save-Cancel | cancels the most recent uncommitted Obj-Save method so that the instance is not written as part of a later Commit operation |
| Rollback method | cancels or withdraws any previous uncommitted changes to the PegaRULES database (and to external databases accessed from an external class) from the current thread |
| When do you use SQL Connect rules? | when your application needs to run complex Structured Query Language statements such as joins or stored procedures to update or extract information from an external database |
| Symbolic indexes | Uses keywords to identify certain elements of aggregate properties |
| <APPEND> index | adds an element to the end (highest index value) a Value List or Page List property |
| <LAST> index | sets or retrieves an element value from the end (highest index value) of a Value List or Page List property |
| <INSERT > index | the ___ keyword followed by an integer to insert a new element and its value into a Value List or Page List property at a numeric index position. Any elements with the same or higher index value are "pushed down" by one. |
| <PREPEND> index | insert a new element and its value into a Value List or Page List property as the first element. All existing elements are "pushed down" by one. |
| What are the symbolic indexes? | <APPEND>, <LAST>, <INSERT >, <PREPEND>, <CURRENT> |
| What is a keyed data page? | a list-structure data page, they reference a key that returns one or multiple instances matching that key |
| What happens when the first reference of a keyed data page occurs? | All the data is stored on the data page according to the data source configuration |
| What happens after the keyed data page is first referenced and the data page receives a request? | the data is already on the data page, and the system locates only the current instance by using the provided key from the request |
| True or False. Only properties can reference keyed data pages | True |
| What is the purpose of having keyed data pages? | To avoid having 2 separate data pages. 1 page can return a list of items and return information about a single item on the list |
| System of record pattern | provides access to data stored in another system or application. they are always current |
| How can you configure the System of record pattern? | In the Data Access section of the property record, select the Refer to a data page option. |
| How does the System of record pattern and the Reference pattern reload? | It reloads according to the refresh strategy specified on the data page |
| Data is, or is not, stored in the property that refers to the data page? | Is not |
| Snapshot pattern | copies data into the case. Data is only current as of the time the application copied the data. |
| How can you configure the Snapshot pattern? | In the Data Access section of the property record, select the Copy data from a data page option |
| When you copy data from a data page, the data is refreshed only when _____________. | a data page parameter changes |
| Reference pattern | allows an application to use data without adding that data to the data model for the application. The value selected by the user is copied to the case. |
| When might you use the Reference pattern? | to populate UI controls, such as drop-down lists, but only use this pattern if the selected value is copied to the data model of the case |
| How can you configure the Reference pattern? | reference a data page from a record other than a property |
| How can you save memory using the Reference pattern? | If the data page contains information that applies to multiple cases, you can set the page scope to node which shares the contents of the data page between requestors |
| To implement the reference pattern, use a data page in your application without defining it as part of the _______. | data model |