Announcement

Collapse
No announcement yet.

Portal User and Assigned User.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Hello,
    when you create the record, let empty assignedUser

    en make just "afterSave" Hook . (not before). whith the code above..
    that do the trick certanly

    Regards

    Comment


    • #17
      I tried afterSave and got another error:

      Espo.ERROR: (403) Ошибка разрешения на назначение.; POST / crm / api / v1 / portal-access / 5f7b0ed7309e1fe3f / Article; строка: 938, файл: /home/assssssss/public_html/crm/application/Espo/Services/Record.php [] []

      I will buy the Advanced package in the future, I will try to create a Workflow on demo for now.
      Last edited by sobolevfff; 10-13-2020, 11:22 PM.

      Comment


      • #18
        Solved the problem in another way. Removed all codes, made the field assignedUser optional and read-only. I also changed some rights in the Portal Roles and everything works as it should.
        Thanks for the help.

        Comment

        Working...
        X