Validations for Manual workflow buttons

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rouhu
    Member
    • Sep 2020
    • 42

    Validations for Manual workflow buttons

    Use case: I have a manual workflow button "Approved" on a page for creating and approving Requests. Once pressed it will set the Request status as Approved. Now it should be possible to validate that the approver's approval limit is greater than the requested amount. So it should also be possible to run entity's "API script before save" client side validations when manual workflows are triggered or client side validations should be included in manual workflow definitions.
  • dreginald
    Senior Member
    • Sep 2018
    • 131

    #2
    You may bring conditions in the Manual Workflow - to trigger actions only if the amount is greater than the requested limit

    Comment


    • yuri
      yuri commented
      Editing a comment
      The dynamic logic has some limitations compared to a condition defined by a script.
  • yuri
    Member
    • Mar 2014
    • 8826

    #3
    Currently, it's possible with Conditions (defined in Dynamic Logic). You need to have the amount you are going to check against to be stored in the entity somehow.
    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

    Working...