Policy Automation for B2C Service

Get Involved. Join the Conversation.

Topic

    Joe Aravind
    Check before create contact
    Topic posted March 28, 2017 by Joe AravindBlue Ribbon: 750+ Points 
    204 Views, 4 Comments
    Title:
    Check before create contact
    Content:

    Hi All,

    I need to check whether the given email id have contact or not. if the mentioned email id has contact, i need to create incident for that contact. if the email id not having contact then create a contact as well as incident for that contact.

    Example:

    Its like a enquiry page. First user enter their information like first name,last name and email address then they will give interested product details through opa interview. if that particular email id has contact then incident should create under that email id.(only incident). if given email id not having contact then contact as well incident should be create (contact + incident). i need to check contact before creating incident.

    Thanks,

    Joe

    Version:
    OPA

    Comment

     

    • Davin Fifield

      This looks to be a duplicate of this question.

    • Danette Beal

      Hi Davin,

      I suspended the other post and we can move forward with this one as the main post.

      Regards,

      Danette, Community Manager

    • Daniel Chalker

      Hi Joe,

      How are people accessing this page?

      Do they have to login or create an account (or could they create an account if they're a first time user)?

      If you're forcing them to login or create an account, you can use OPA mappings to do this quite easily, with something like my attached screenshot.

      Regards,

      Daniel

    • Joe Aravind

      Hi Daniel,

      Thanks for your response. Actually i used mapping setting as you mentioned. Both users (new user and exist user) will access this page. if new user access the page that time contact will crate and incident also created under that contact. if existing user access the page with logged in then incident will create under the user.

      Requirement:

      if existing user access that page, Incident will create under the mentioned email without login.

      Thanks,

      Joe