Announcement

Collapse
No announcement yet.

Question for the BPM

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

  • Question for the BPM

    Hi

    I got a question regarding the BPM:
    I want to start a business process every time, an account gets created. Then for every contact which is an employee of the created company I want to start like a "subprocess". 192.168.1.254

    Is that even possible? If yes, how could I manage to do that?10.0.0.0.1

    Regards
    Last edited by maulibels85; 12-08-2020, 06:13 PM.

  • #2
    Hi,
    1. Well the first thing that you have to do is enable the link-multiple Contact field for the Account detail view because by default this field available only in the bottom panel that makes impossible selecting Contacts upon creation.
    Bu default it is not available to do via UI so you need to make a little code customization:Well the first thing that you have to do is enable the link-multiple Contact field for the Account detail view because by default this field available only in the bottom panel that makes impossible selecting Contacts upon creation.
    1.1. In the file /custom/Espo/Custom/Resources/metadata/entityDefs/Account.json add the marked code:
    Code:
    {
        "fields": {
    [COLOR=#2ecc71]        "contacts": {
                "type": "linkMultiple",
                "importDisabled": true,
                "layoutDetailDisabled": false
            }[/COLOR]
        },
        "links": {
            ...
        }
    }
    1.2. Administration -> Clear Cache
    1.3. Refresh a webpage
    1.4. Open Administration -> Layout Manager -> Account -> Detail -> add the Contacts field.

    2. Create a simple BPM as on the screenshots below.
    Attached Files

    Comment

    Working...
    X