Reopening a Closed Case upon Receiving an Email

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ritis
    Junior Member
    • May 2023
    • 1

    Reopening a Closed Case upon Receiving an Email



    Is it possible to change the status of a closed case to assigned or another status if an email related to the case is received?


  • lazovic
    Super Moderator
    • Jan 2022
    • 932

    #2
    Hi Ritis,

    Go to Administration > Entity Manager > Email > Formula and insert following lines:

    Code:
    ifThen(
        entity\isNew() && parentId != null && parentType == 'Case' && record\attribute('Case', parentId, 'status') == 'Closed' && status == 'Archived',
        record\update('Case', parentId, 'status', 'Assigned')
        );​

    Comment

    Working...