How to send credentials when creating a portal user in Flowcharts?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lj4353
    Senior Member
    • Nov 2023
    • 121

    How to send credentials when creating a portal user in Flowcharts?

    Created a portal user in Flowcharts, but the password email was not sent to the user. What should I do to send the credentials?

    The entity object is Lead.
    Lead => Contact => Portal User

    I referred to the following response, but an error occurred after adding the Run Service Action.
    Hi everyone! I am trying to create a portal user via the business process mechanism and everything is fine except for the fact that the system letter with credentials is not being sent this way. Other than that the process works just fine - the user is created correctly. I am setting the ''sendAccessInfo' field to true but it

    Click image for larger version

Name:	image.png
Views:	13
Size:	83.2 KB
ID:	114112

    Click image for larger version  Name:	image.png Views:	15 Size:	81.5 KB ID:	114090

    Attached Files
    Last edited by lj4353; Today, 12:17 AM.
  • yuri
    Member
    • Mar 2014
    • 8557

    #2
    Can you provide the code of your custom service action class? Or it's not valid for your problem?

    Does the created user have an email address?
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


    • lj4353
      lj4353 commented
      Editing a comment
      @yuri
      The Service Method + Generate Password is a built-in feature of EspoCRM. The current version is the latest, 9.0, and the portal user's email address is correctly configured. However, I cannot find any additional error information in the logs.

      Generate Password :generateAndSendPassword
      Last edited by lj4353; Today, 02:30 AM.
  • lj4353
    Senior Member
    • Nov 2023
    • 121

    #3
    The issue has been resolved. The generateAndSendPassword method must handle the user entity, so it cannot be used with the Lead entity in Flowcharts. Instead, the user entity must be used.

    Comment

    Working...