Skip to main content
yasminea4528
April 2, 2024
Solved

sign in page

  • April 2, 2024
  • 8 replies
  • 0 views

Hello everyone,

I have a question. I'm developing an application. The home page contains two buttons related to record action. The first one is the "Create Account" button, where the user can create an account and input different fields. This button works as expected. In the process model related to this page, I have added a "Create User" node so that after the creation, the process sends an email containing the name and password for the user.

Now, I want to create a "Sign In" button. Is that possible, and how can I verify if this account really exists?

    Best answer by konduruc733182

    That would be the users landing page. You will not do this in the site home page. That would be invalid evaluating the user again after they have accessed the site.

    8 replies

    konduruc733182
    April 2, 2024

    Hello [mention:9322c334ce224857b6b7e2f011f055bd:e9ed411860ed4f2ba0265705b8793d05] 

    The default environment sign-in would be the place where the user will enter these credentials that are generated as part of user creation. You will not have any special sign-in inside your site. Instead configure your system branding from admin console if that makes sense.

    Just to check if the user account exists you can check with the username and Appian function isusernametaken()

    yasminea4528
    April 2, 2024

    Thanks for answering me! I thought it was illogical to create a site without an "Access My Account" button, and to create this button, I think I have to verify if the account exists!

    mathieud0001
    Brainy
    April 2, 2024

    You can try using the isusernametaken function to check if the username is available but if the node executed successfully, not sure why that would be necessary. I'm assuming that you wanted to test the sign in with the sign in link. I would personally advise against that. If the user was created successfully, you shouldn't have to test it by signing in as that user.

    https://docs.appian.com/suite/help/24.1/fnc_people_isusernametaken.html

    yasminea4528
    April 2, 2024

    Thanks for answering me!.If it's unnecessary to verify if the user exists or not, how can I make it meaningful to have an "Access My Account" button?

    mathieud0001
    Brainy
    April 2, 2024

    I'm mot sure I understand. Where did you want this button?