Workflows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fbandini
    Junior Member
    • Aug 2016
    • 9

    Workflows

    Hi,
    I created a workflow in order to assign a case to assigned user of a related entity.
    This is the log --> [2016-08-09 07:28:04] Espo.ERROR: Workflow [Utils::getFieldValue]: The related field [settore.assignedUser] entity [Case] has unsupported instance []. [] []
    I attach the snapshot of workflow form.
    Entity settore is a related entity such as account or contact.

    Any ideas ?

    Thanks in advance.

  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Hi,

    Fixed. You need to install the new 1.11.5 version. Thank you.
    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

    • fbandini
      Junior Member
      • Aug 2016
      • 9

      #3
      I installed the new 1.111.6 version. I have the same issue with the same log. I need to restart my server ? I just installed and rebuilt.
      Thank you.

      Comment

      • tarasm
        Super Moderator
        • Mar 2014
        • 573

        #4
        It works fine for me, try on the demo http://demo.espocrm.de/advanced
        Job Offers and Requests

        Comment

        • yuri
          Member
          • Mar 2014
          • 8440

          #5
          Maybe you have php cache enabled? Did you try after some time since you upgraded?
          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

          • fbandini
            Junior Member
            • Aug 2016
            • 9

            #6
            I restarted the server, but I obtained the same result.
            Now I check on the related entity. I think the problem is on that entity.

            Comment

            • yuri
              Member
              • Mar 2014
              • 8440

              #7
              Can you describe what is your custom entity, how it's related to cases and what workflow must do. Thanks.
              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

              • fbandini
                Junior Member
                • Aug 2016
                • 9

                #8
                In attachment you can see the entity.
                I check that the error appear just in trigger "after record created". If I use "after record saved" the workflow complete the process.
                I modified the workflow as "after record saved" with filter assigned user is empty, it works but is a workaround.

                Comment

                • yuri
                  Member
                  • Mar 2014
                  • 8440

                  #9
                  We tried "After record created" and it worked well. Is this one-to-many relationship? What espocrm version do you use?

                  We would like to reproduce your issue and solve. Thank you.
                  Last edited by yuri; 08-11-2016, 05:39 PM.
                  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

                  • tarasm
                    Super Moderator
                    • Mar 2014
                    • 573

                    #10
                    I created a custom entity "Settore" with One-to-Many relationship to Case. Added a "After record created" Workflow for a Case to set an assigned user from Settore entity. All works well. Tested on EspoCRM 4.2.1, Advanced Pack 1.11.6, PHP 7.0.
                    Please try to delete the workflow rule and create a new one.
                    Job Offers and Requests

                    Comment

                    Working...