ssossossossosso

Forums

Forums OroCRM OroCRM – Programming Questions How to find an Account by it's Contact(EMAIL) in process.yml ?

This topic contains 1 reply, has 2 voices, and was last updated by  Mike Kudelya 11 months, 3 weeks ago.

  • Creator
    Topic
  • #22725

    Rodolfo
    Participant

    In OroCRM, a contact (ContactBundle) belongs to an AccountBundle.

    I know how to use @find_entity in process.yml to get a specific entity by Name. How can I get an Account by its Contact[’email’]?

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #22726

    Mike Kudelya
    Moderator

    Hi

    For example you can call custom function via call_method action or call repository of entity through call_service_method action. I think the second variant is more preferable.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.