Skip to main content
Tweeted twitter.com/#!/StackSalesforce/status/316185242866159616
added 20 characters in body
Source Link
Saariko
  • 5.7k
  • 14
  • 81
  • 169

I'sI'd like to have a workflow rule fire when a record is owned by queue A and then changes owner.

What I have so far is:

AND( ISCHANGED(OwnerId), PRIORVALUE(OwnerId) = 'QueueId' )

AND(
ISCHANGED(OwnerId),
PRIORVALUE(OwnerId) = 'QueueId'
)

I've tried both the QueueId and just the Id of the QueueSObject for the PRIORVALUE check. The rule does not fire. Is it not possible to look up the OwnerId prior value at that time when the rule is evaluated?

I's like to have a workflow rule fire when a record is owned by queue A and then changes owner.

What I have so far is:

AND( ISCHANGED(OwnerId), PRIORVALUE(OwnerId) = 'QueueId' )

I've tried both the QueueId and just the Id of the QueueSObject for the PRIORVALUE check. The rule does not fire. Is it not possible to look up the OwnerId prior value at that time when the rule is evaluated?

I'd like to have a workflow rule fire when a record is owned by queue A and then changes owner.

What I have so far is:

AND(
ISCHANGED(OwnerId),
PRIORVALUE(OwnerId) = 'QueueId'
)

I've tried both the QueueId and just the Id of the QueueSObject for the PRIORVALUE check. The rule does not fire. Is it not possible to look up the OwnerId prior value at that time when the rule is evaluated?

Source Link
akarnid
  • 1.9k
  • 5
  • 37
  • 60

Formula for a workflow rule

I's like to have a workflow rule fire when a record is owned by queue A and then changes owner.

What I have so far is:

AND( ISCHANGED(OwnerId), PRIORVALUE(OwnerId) = 'QueueId' )

I've tried both the QueueId and just the Id of the QueueSObject for the PRIORVALUE check. The rule does not fire. Is it not possible to look up the OwnerId prior value at that time when the rule is evaluated?