Pega in Flow Interview Questions and Answers || Software Job Interview || Session - 6

Поділитися
Вставка
  • Опубліковано 28 вер 2024

КОМЕНТАРІ • 42

  • @ramaambarukhana6463
    @ramaambarukhana6463 2 роки тому +1

    Hi Harsha ...
    Please give differences b/w split join & Spinoff Shapes in flow
    Thank you.

  • @alwayslearner6535
    @alwayslearner6535 2 роки тому +1

    Super

  • @ShanmukhGollapudi
    @ShanmukhGollapudi 9 місяців тому

    Hi Harsha,
    1.I have a query that we get to hear that all deferred saves will be commit to DB in next commit operation. Could you pls lef me know the rule which is responsible for doing that.
    ex: obj-save without write now... Which rule is responsible for commiting to DB and if we use obj-save-cncel or rollback how system get list of uncommitted rules .. Please help me.

    • @HarshaTrainingsacademy
      @HarshaTrainingsacademy  9 місяців тому +1

      In Pega, deferred saves are related to the Deferred Processing feature, and they involve committing changes to the database at a later point in time. When you perform a save operation (like `obj-save` without "write now"), Pega defers the write to the database until the next commit operation.
      ### Deferred Save and Commit in Pega:
      1. **Deferred Save:**
      - When you perform an operation like `obj-save` without specifying "write now," changes are not immediately written to the database.
      - Instead, these changes are temporarily stored in memory as part of the clipboard pages.
      2. **Commit Operation:**
      - The actual commit to the database happens during the next commit operation.
      - This can be an explicit commit operation, such as `commit` in an activity, or an implicit commit when transitioning from one transaction to another (e.g., when transitioning from one assignment to another).
      ### Relevant Rule for Committing to the Database:
      The specific rule responsible for committing changes to the database is the **Transaction** rule. The Transaction rule defines the scope and characteristics of a transaction, including when changes should be committed.
      - In the context of a flow action or an activity, the commit might happen implicitly when the flow action completes or when the activity finishes execution.
      ### `obj-save-cancel` or Rollback:
      - If you use `obj-save-cancel` or perform a rollback operation, the changes that were deferred and not yet committed to the database will be discarded.
      - Rollback operations typically discard any uncommitted changes made during the current transaction.
      ### Identifying Uncommitted Rules:
      Pega internally keeps track of the changes made to the clipboard pages during a transaction. When you perform a commit, Pega knows which changes need to be written to the database.
      If you want to understand the changes that are pending to be committed, you can use debugging tools such as:
      - **Clipboard Tool:** Inspect the clipboard pages to see the changes that are not yet committed.
      - **Tracer:** Use the Tracer tool to trace the execution of activities and observe the deferred changes.

    • @ShanmukhGollapudi
      @ShanmukhGollapudi 9 місяців тому

      @@HarshaTrainingsacademy -Thank you so much for your quick response and valid information 🙂

  • @akashsinha3421
    @akashsinha3421 2 роки тому +2

    Hello Sir, while designing a service rule how can we make sure to send the response only to authentic system/requests?
    Also, please make a video on Authentication Profile used in Integration rules.

    • @HarshaTrainingsacademy
      @HarshaTrainingsacademy  2 роки тому

      Hi Aakash, In order to send response to authenticated system. We need to create an authenticated service from our end. When we expose our service to third party requestors, we should provide service credentials to them. While the third party companies send their request, we need to verify the credentials at our end, to make sure it is authenticated. that's how we can achieve it.

  • @ruchiagrawal8364
    @ruchiagrawal8364 2 роки тому +1

    Hi Harsha,
    I have few questions like
    1) In the flow there are 2 assignments when the 1st assignment submits, 2nd assignment should also be submitted. How to handle this.
    2) In the UI I have 15 dropdowns and each dropdown should be populated without any performance issue.
    3) For Team Leaders Manager worklist should not be show and for managers all the team members worklist should be displayed how to achieve this.
    4) Any issue faced in services connectors and resolution of that.

    • @HarshaTrainingsacademy
      @HarshaTrainingsacademy  2 роки тому

      Will reply tomrorow mrng...

    • @nandhinin9263
      @nandhinin9263 Рік тому

      @@HarshaTrainingsacademy Hi Harsha ,
      can you please share the link of the video where you have answered the above questions

  • @praveenaparasa8309
    @praveenaparasa8309 2 роки тому +1

    Hello harsha,
    Please answer the question
    What is refreah strategy available for data page in node level?

  • @java2architect
    @java2architect 2 роки тому +1

    Sir, temporary case option now removed from Pega. Do you know the reason?

    • @HarshaTrainingsacademy
      @HarshaTrainingsacademy  2 роки тому

      Hi , Yes they removed it only when in case you create a flow in the case type class. But when you create flow in Class group it is still there....
      They removed it considering the fact the case type flows does not need it, as there was a screen flow which was made as a mandatory starting flow. Also, work object is not getting created by started flow instead it is being done by directly calling ADD activity when case type starts.
      Harsha Trainings is one of the leading and Placement Consultant Provided training with qualified trainers on PEGA,DEVOPS, PowerBI,JAVA,DATA SCIENCE, MULESOFT ,Spring&Microservices,OracleFinance,Appian,Core&Advance java,Django,Communication&Varbal and other various leading software technologies….
      For those who have gap after education, we have job placement assurance courses...
      Subscribe to our channel to learn best of best in technology... For training call us on 9652532753, 9885312299

  • @sowjanyaprasad
    @sowjanyaprasad Рік тому +1

    Hi Harsha, I have got a requirement of re-routing the screen flow to the Work basket so that the other operator can be able to pick up and work on it.

    • @HarshaTrainingsacademy
      @HarshaTrainingsacademy  Рік тому

      Yes, but let me know one thing .. rerouting to be down by choosing operator id/ work basket from dropdown?

    • @sowjanyaprasad
      @sowjanyaprasad Рік тому

      Reroute to work basket and then any one in the team can be able to pick it and work on it.

  • @java2architect
    @java2architect 2 роки тому +1

    Really like this style of video. Had a doubt.
    You mentioned upfront cannot call Connector Rule from Screen Flow because Integrator Shape not available. However at end of each step or beginning of Step can we call Connect Rule from Post/Pre Activity?

    • @HarshaTrainingsacademy
      @HarshaTrainingsacademy  2 роки тому +1

      Hi, Yes, you are right we can call through actiity or data page. But the flow shape was not available.....
      Harsha Trainings is one of the leading and Placement Consultant Provided training with qualified trainers on PEGA,DEVOPS, PowerBI,JAVA,DATA SCIENCE, MULESOFT ,Spring&Microservices,OracleFinance,Appian,Core&Advance java,Django,Communication&Varbal and other various leading software technologies….
      For those who have gap after education, we have job placement assurance courses...
      Subscribe to our channel to learn best of best in technology... For training call us on 9652532753, 9885312299

    • @anushathatikonda5821
      @anushathatikonda5821 11 місяців тому

      In flow shapes is there integrtor shape and assignment service shape

    • @anushathatikonda5821
      @anushathatikonda5821 11 місяців тому

      Through using DPage Or ACtivity

  • @RSMScelebtalks
    @RSMScelebtalks Рік тому +1

    Hi Harsha Sir, I have one question from infosys client, how we can go back to previous flow in process flow on button click?

  • @RahulDas-zn7dp
    @RahulDas-zn7dp 2 роки тому +1

    Hi Harsha, These videos are super helpful. Thanks a ton.

    • @HarshaTrainingsacademy
      @HarshaTrainingsacademy  2 роки тому

      Hi Rahul. Thanks for the compliment. Please stay tuned and keep watching !!
      Thanks 😊

  • @Satyareddipalli
    @Satyareddipalli 2 роки тому

    Hi , I have a question about keys. One interviewer asked about keys. What keys used in my application. What types of keys we use in application? Looking forward for your reply. Thanks in advance

    • @HarshaTrainingsacademy
      @HarshaTrainingsacademy  2 роки тому

      hi Sathya, I think the question is about the types of keys like class key and primary key... If this does not answer your question, please post the question with more details, we are happy to help you.

  • @ShanmukhGollapudi
    @ShanmukhGollapudi 9 місяців тому

    Hi Harsha,
    Could you please help me for these below questions.
    1. How to capture child activity error in parent activity.
    2. There is Grid in UI where RD is the source.. It is too slow while displaying data. Please let me know what could be reason and how we can trace these issues.
    3. What should we do when neither operators nor system administrators are able to access the Prod application(SSO or non-SSO).
    4 . Normal error handling in activities /connectors.
    Thanks
    G SHANMUKh

    • @HarshaTrainingsacademy
      @HarshaTrainingsacademy  9 місяців тому +1

      ### 1. In Pega, you can capture errors from a child activity within a parent activity using a Try-Catch method. Here's an example of how you can achieve this:
      In this example:
      - The `try` block contains the code that calls the child activity (`tools.callActivity("ChildActivity")`).
      - If an exception occurs during the execution of the child activity, it will be caught by the `catch` block.
      - You can then handle the exception within the `catch` block. In this example, the error message is retrieved using `e.getMessage()`, and you can log it or take other appropriate actions.
      You can customize the error-handling logic based on your requirements, such as logging the error, updating properties, or displaying a user-friendly message.
      Remember to replace "ChildActivity" with the actual name of your child activity.
      This approach helps you ensure that errors in the child activity are captured and can be handled appropriately within the context of the parent activity.
      ### 2. Slow Grid with Report Definition (RD) as the source:
      To address a slow grid in Pega with an RD as the source, you can take the following steps:
      - **Optimize RD:**
      - Review the RD and optimize it to fetch only the necessary data. Avoid fetching unnecessary columns.
      - **Indexing:**
      - Ensure that the columns used in filtering and sorting in the RD are indexed in the database.
      - **Clipboard Tool:**
      - Use the Clipboard tool to trace and analyze the data being loaded onto the clipboard. Check if excessive data is being fetched.
      - **Tracer:**
      - Use the Tracer tool to trace the rendering of the grid. Look for slow steps and identify areas for optimization.
      - **Database Query Performance:**
      - Analyze the performance of the underlying database queries. Use database profiling tools if necessary.
      - **Caching:**
      - Check if caching strategies can be applied to the RD or data pages to improve performance.
      ### 3. Operators and System Administrators unable to access Prod application:
      If neither operators nor system administrators can access the Prod application, consider these steps:
      - **Check System Availability:**
      - Ensure that the Pega platform and associated services are running.
      - **Logs:**
      - Review Pega logs and system logs for any error messages or issues during startup.
      - **Database Connectivity:**
      - Verify the connectivity to the database. Check if the database server is accessible.
      - **SSO Configuration:**
      - If SSO is involved, ensure that the SSO configuration is correct and the identity provider is accessible.
      ### 4. Normal error handling in activities/connectors:
      In Pega, you can handle errors in activities and connectors using the Try-Catch method, as shown in the first answer. Additionally:
      - **Connect-Exception Class:**
      - When using Connectors, Pega provides a `Connect-Exception` class that can be used to catch and handle connector-related exceptions.
      - **Logging:**
      - Use the `tools.getLogger()` method to log errors and information for debugging purposes.

    • @ShanmukhGollapudi
      @ShanmukhGollapudi 9 місяців тому

      @@HarshaTrainingsacademy - Thank you for the response

  • @shankarambati9150
    @shankarambati9150 2 роки тому

    Extra boost

  • @ShanmukhGollapudi
    @ShanmukhGollapudi 6 місяців тому +1

    Hi Harsha
    Do we have any OOTB control for selection multiple check boxes instead of multiselect.
    Thanks
    G SHANMUKH

    • @HarshaTrainingsacademy
      @HarshaTrainingsacademy  6 місяців тому

      Hello,
      Yes, Pega offers an Out-of-the-Box (OOTB) control called "pxCheckbox" for selecting multiple checkboxes individually rather than using a multiselect control. The "pxCheckbox" control allows users to select or deselect multiple options by clicking on individual checkboxes.
      To use the "pxCheckbox" control:
      1. In the section or harness where you want to include the checkboxes, add a "pxCheckbox" control from the control palette.
      2. Configure the properties of the "pxCheckbox" control, such as the source of options, label, and value.
      3. Map the control to a property in your data model to store the selected checkbox values.
      By using the "pxCheckbox" control, users can select multiple options independently, providing more flexibility compared to a multiselect control.
      If you have any further questions or need assistance with implementing the "pxCheckbox" control, feel free to ask!

  • @gudlasatyanarayana809
    @gudlasatyanarayana809 2 роки тому

    Hi Harsha. I have one question. Can we create a flow in organization class?
    And what is the use of Activity or data transform calling in a flow action?

    • @HarshaTrainingsacademy
      @HarshaTrainingsacademy  2 роки тому

      Hi Sathyanarayana, Yes we can create reusable flows in organization class...
      In a flow acton pre and post processing we can call activities and data transforms... One load the screen and on submit of the screen the pre and post rules will run respectively...

  • @kingalmighty6840
    @kingalmighty6840 2 роки тому

    May I know ...what industry domain of car rental application ?
    Thanks in advance