Help with workflow conditions formula, please

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jj.payally
    Junior Member
    • Jun 2023
    • 15

    Help with workflow conditions formula, please

    Hello all
    I need an advise how to write conditions formula in workflow.
    We have entity "Bank Message" and have stream in it.
    I need create workflow when something posted into 'Bank Messages' stream with such conditions (all):
    1. Parent -> equals -> type of -> Bank Messages
    2. Created by -> not equals -> value -> 'some user'
    3. Parent 'Bank Messages' -> field 'Closed' value -> 'is not'
    I configured first and second conditions by dropdown options, but i cannot do it with third condition.
    How to do it using Formula?


    Click image for larger version  Name:	image.png Views:	0 Size:	57.8 KB ID:	106478


    Attached Files
    Last edited by jj.payally; 05-22-2024, 02:06 PM.
  • yuri
    Member
    • Mar 2014
    • 8455

    #2
    Hi,

    Try the formula:

    Code:
    parent.closed == false
    Note that the 'closed' field can be named differently in your instance.
    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

    • jj.payally
      Junior Member
      • Jun 2023
      • 15

      #3
      Finally found it:

      Code:
      record\attribute(parentType, parentId, 'isClosed') == false

      Comment

      Working...