Remove assigned user when a condition is met

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • livewire
    Senior Member
    • Nov 2016
    • 100

    Remove assigned user when a condition is met

    Hi

    Im trying to write a formula that will remove the assignedUser when the the lead status is set to "Completed"


    Code:
    ifThen(status == "Completed", REMOVE ASSIGNED USER )​
    i went through the doc but couldn't find a function to remove the assigneduser or set the assignedUserid to 0

    How can i do this?

    Thanks
  • lazovic
    Super Moderator
    • Jan 2022
    • 810

    #2
    Hi livewire,

    Please try to use the following formula script:
    Code:
    if (status == 'Completed') {
        assignedUserId = null
    }

    Comment

    Working...