Custom Error Element in Salesforce Record Triggered Flows | Salesforce Geek

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

КОМЕНТАРІ • 22

  • @SnehalWankhade-j4h
    @SnehalWankhade-j4h 2 місяці тому

    Hey Hi, I have created a record triggered flow to send the record to external db and as a result updating a field db_id in salesforce. but if i create a record with duplicate id with which there already exists a record in external db, the db_id field remains null. And on this i want to show an error message on screen that record with duplicate email already exists. is this possible using flow; if not then please tell me how to resolve this issue

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

    Can you stop saying 'different different',gramatically this is wrong in English, you trying to translate exact word from Hindi 'alag alag' ! I see almost all youtubers make the same error!

    • @salesforcegeek
      @salesforcegeek  3 місяці тому +1

      I'll improve forsure English is not my first language so there is some possibility of errors apologies for the inconvenience

  • @sayanroychowdhury3325
    @sayanroychowdhury3325 4 місяці тому +1

    Can we use custom labels in the error message so that we can handle translations?

    • @salesforcegeek
      @salesforcegeek  3 місяці тому +1

      I need to check this but i think yes we can so that if we are able to call label in error message

    • @sayanroychowdhury3325
      @sayanroychowdhury3325 3 місяці тому +1

      @@salesforcegeek yes I have checked that we can use labels in flow error message

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

    Hi
    Can you please help me. While I am doing record triggered flow after mentioning the criteria. Bellow side no done option is showing. Please help on this issue.

  • @Malavika26-n8d
    @Malavika26-n8d 11 місяців тому

    Create Screen Flow to select Custom Parent Records (maximum 5 , required = true) .Now delete all the Child records Associated to the parent records. [2:20 PM] Malavika Reddy Pulgam
    For this scenario i want to select only 5 accounts, if i select more than 5 i want to display error message on that particular screen. How to do this?

  • @mohdfaisalkhan5596
    @mohdfaisalkhan5596 8 місяців тому

    Great demo. I have question what if I want to show the custom error and also in the same flow I want to send an email using email alert just after this ? As of now since email alert executes after the record is saved that is why I'm not able send the email since custom error is not allowing to save the record. Do you have any solution for my requirement ? I will really appreciate it. Thanks!

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

    Really nice video, thank you! Btw what auto-correct program are you using?

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

      Thank you that's not autocorrect it's because of the editing.

  • @AshokKumarn2399
    @AshokKumarn2399 7 місяців тому

    Hi thank you for this video, it is very helpful to learn new features😍, however how can we show multiple fields errors, should we go and create multiple custom error elements ?

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

    How to add success message if record is updated successfully?

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

      You will not be able to add success screen in Salesforce Record-triggered Flows

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

    Why Error element is not available in my org?

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

      This is a new feature for Winter 24 Release you need to sign up for a pre release org to try it out.

  • @1991ubaid
    @1991ubaid Рік тому

    When i retrieve this flow from ANT tool and try to deploy in other environment its giving error saying " Error : Invalid element reference not found for target.

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

      The reason is winter 24 changes are not comes to your Target org and you used custom error component in your Salesforce Flow which you built in your source org
      Resolution - either deploy after the target org have the custom error element or use some different method to achieve what you are trying to implement in simple terms remove custom error element and deploy

    • @1991ubaid
      @1991ubaid Рік тому

      ​@@salesforcegeekIn both org custom error element is there, also when i retrieve flow, in flow XML defination of error element is not fetched

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

      @@salesforcegeek Seems its a deployment issue we have Winter '24 Patch 6.2 for our source & target org but still we encounter same error.

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

      I was also getting the same error when I was trying to deploy via the ANT tool. I tried deploying the flow via the changeset and it worked you can try deploying via the changeset.