Announcement

Collapse
No announcement yet.

Formula Help entity\isAttributeChanged

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Formula Help entity\isAttributeChanged

    Hello,

    I wanted to make this formula to update opportunityClosedTime only if Status = to Closed Won. if not make the time clear.

    Code:
    ifThen(entity\isAttributeChanged('status'), opportunityClosedTime = datetime\now());
    Cheers!
    Nishan.

  • #2
    Hi,
    What about this:
    Code:
    ifThen(
        entity\isAttributeChanged('status') && status == 'Closed Won',
        opportunityClosedTime = datetime\now()
    );

    Comment

    Working...
    X