function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
fiona gentryfiona gentry 

Record Triggered (Action & Related Records)Flow Failed for "unable to change ownership of a New Task record."

Dear folks,

have this Record Triggered  (Action & Related Records)Flow which creates a Task for a cases for some record types..

Here is what Flow does

Start Conditon Requirements
The triggering record met the condition requirements.
Entry Conditions
1. Owner_Type__c (User) Equals User
2. RecordTypeId (0012344441Q000000P57QQAS) Equals 0012344441Q000000P57QQAS
3. RecordTypeId (001234444Q000000P57QQAS) Equals 001234444Q000000P57QQAS
Logic: Advanced Logic ((2 OR 3) AND 1)

Get Records: All Tasks On Case
Find all Task records where

Action__c Does not equal 1st Contact
Store the values of these fields in All_tasks_On_Case: Id
Result

Successfully found records.

Decision:Check for Null Tasks
Outcome executed: Task_Exists
Outcome conditions

{!All_tasks_On_Case} ([Task (00T2C00000JFYmkUAH)]) Is null false
All conditions must be true (AND)

New Task(Quick Actions) Create New Task
Inputs

OwnerId = {!$Record.OwnerId} (00536000006YCPvAAO)
ActivityDate = {!CreateTaskNow} (6/21/2022 9:48 PM)

Here is the Error

Info
Error Occurred:

You are unable to change ownership of a New Task record.

How to resolve this error

Regards

Fiona
 
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Fiona,

Can you share the flow diagram as answer so I can take a look and answer based on it. It is very hard to understand the flow for me from the above explanation .

Thanks,