Workflow move to trash

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LuckyLouie
    Senior Member
    • Nov 2017
    • 172

    Workflow move to trash

    Hello,
    Is it possible to create a workflow that will move the message to the trash after certain conditions are met?
    I know there are message filters, but I'd like to apply more advanced features to the conditions.
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    With formula:

    Code:
    record\updateRelationColumn('Email', $emailId, 'users', $userId, 'inTrash', true);
    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

    • LuckyLouie
      Senior Member
      • Nov 2017
      • 172

      #3
      Originally posted by yuri
      With formula:

      Code:
      record\updateRelationColumn('Email', $emailId, 'users', $userId, 'inTrash', true);
      Thank you Yuri

      Comment

      Working...