Creating a user from a workflow

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vampirefrog
    Member
    • May 2017
    • 45

    Creating a user from a workflow

    Hello. I am trying to create a user when an entity is created, and I've added an action to a workflow, Create Entity -> User, which grabs the email and the name. However, when I create an entity, there is no new user. What am I doing wrong? Thanks!
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    did you set userName field? Or just name (firstName and lastName)?

    Comment

    • vampirefrog
      Member
      • May 2017
      • 45

      #3
      The userName field was not set, and I'm trying to add it, however, it only lets me select varchar fields, and I'd like to select the email as the login for the user.

      Comment


      • tanya
        tanya commented
        Editing a comment
        set it with formula
    • vampirefrog
      Member
      • May 2017
      • 45

      #4
      Also, setting it to the firstName field, it still doesn't create the user >_>

      edit: strike that, it does create it (I forgot to save the workflow)
      Last edited by vampirefrog; 07-06-2017, 11:20 AM.

      Comment

      • vampirefrog
        Member
        • May 2017
        • 45

        #5
        So, in the user entity, I wrote "userName = emailAddress" is this correct?

        BTW I had also fixed the username problem by editing the JSON for the workflow.

        Comment

        • tanya
          Senior Member
          • Jun 2014
          • 4308

          #6
          if email address was set before, yes

          Comment

          • vampirefrog
            Member
            • May 2017
            • 45

            #7
            Ok, it seems to work. Thanks for the help!

            Comment

            Working...