• digital shiksha
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi all,
we have the situation that cases are created and given to a queue first. When cases are created they have first the status 'New'.
We have more than a queue but we would like to make this happen:

If the status is New and the case owner is the queue Customer Support, if the owner changes from this queue to an individual user,the status of the case should change to 'Assigned'.

I have trying long hours to let this run but I am getting the process builder as failed.

For the condition I have been using this formula:
 
AND(
ISCHANGED([Case].OwnerId ),
PRIORVALUE([Case].Owner:Queue.DeveloperName) = "Customer_Support",
LEFT([Case].OwnerId,3)= "005"
 )
Unfortunately I am getting the error:
 
Error Occurred During Flow "test": In the formula: AND( ISCHANGED({!myVariable_current.OwnerId} ), PRIORVA...
    
Error element myDecision (FlowDecision).
In the formula: AND(
ISCHANGED({​​​!myVariable_current.OwnerId}​​​ ),
PRIORVALUE({​​​!myVariable_current.Owner:Queue.DeveloperName}​​​) = "Customer_Support",
LEFT({​​​!myVariable_current.OwnerId}​​​,3)= "005"
 ), the relationship reference accessing field: DeveloperName is unsupported in ISCHANGED and PRIORVALUE

I see there are some limitations using process builder for solving this requeriment.
Is there anyone here who knows how it would be with a trigger?.