Announcement

Collapse
No announcement yet.

How to get fields of target entity during workflow or process?

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

  • How to get fields of target entity during workflow or process?

    How do I get a field/attribute of target entity during BPM Task flow or Workflow when creating new entity?

    For example I create a task after a call is created and I want to add the original call's ID to the task's description.

    Code:
    $call_id = ?; description = string\concatenate('Trigger: Creation of entity #', $call_id);

  • #2
    Hello,
    here you can find the information https://www.espocrm.com/documentatio...ula-in-actions
    Job Offers and Requests

    Find Developer
    Find Customer

    Comment


    • #3

      Ok so this is the updated code, right?
      Code:
      $call_id = targetEntity\attribute('id'); description = string\concatenate('Trigger: Creation of entity #', $call_id);

      Comment


      • #4
        yes. check it
        Job Offers and Requests

        Find Developer
        Find Customer

        Comment

        Working...
        X