Announcement

Collapse
No announcement yet.

Service was not found

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

  • Service was not found

    Getting this error on a workflow:

    [2019-05-16 00:09:02] Espo.ERROR: CronManager: Failed job running, job [5cdca9d2335acbd30]. Error Details: Service 'Payment' was not found. [] []


    Any ideas?

  • #2
    Permissions are set up and everything looks good there.

    Comment


    • #3
      Hello.

      The EspoCRM does not have the Service 'Payment' at all. Try to clear the cache of your web browser and EspoCRM. What workflow do you try to run that cause such error?

      Comment


      • #4
        We have a custom entity named Payment. The workflow is triggered when a payment is created. That is the error when a workflow gets triggered.

        Comment


        • #5
          Please go to /EspoCRM/custom/Espo/Custom/Services and check if there exists some file like Payment.php with the next content
          <?php

          namespace Espo\Custom\Services;

          class Payment extends \Espo\Core\Templates\Services\Base
          {
          }
          Note, that this example for the entity of the Base type (pay attention to the last word "Base" in this row
          class Payment extends \Espo\Core\Templates\Services\Base
          For example, If you have created an entity of Event type, you should replace Base with Event.

          Comment


          • #6
            Payment does not have a php file in services at all. I attempted to manually create one with the Base service and the CRM errors out.

            Comment

            Working...
            X