Ask Search:
Rose FarnhamRose Farnham 

Creating a Task when a status changes on a custom object with Process Builder? with Proces Builfe

I am new to Process Builder.  I am trying to create a completed task on a custom object called Action Plans when the Action Plan Status is changed.  This will just be a history record to know the date the Action Plan Status was changed.  I have setup the following in Process Builder:
Object = Action Plan
Criteria = Formula evaluates to true
 ISCHANGED([Action_Plan__c].Action_Plan_Status__c)
Advanced = Yes
Immediate Actions = Create a Record
Record Type = Task
Set Field Values
Description - Field Reference = [Action_Plan__c]Action_Plan_Status__c
Assigned to ID - Formula = [Action_Plan__c]CreatedByID
Priority - Picklist = Normal
Status - Picklist = Completed
Subject - String = "Action Plan Status was changed TODAY()"

However, when I activate this nothing happens. 
Could you let me know what I am doing wrong or what I am missing?
Thanks!

Best Answer chosen by Rose Farnham
Om PrakashOm Prakash
Can you please check under Task Tab, Task must created if you have chnaged the Action_Plan_Status on Action_Plan object.

Task is not related to that Action Plan record because we are not setting Related To ID.

For relating we need to add one more assignment.
Related To ID = [Action_Plan__c].Id
 

All Answers

Om PrakashOm Prakash
Can you please check under Task Tab, Task must created if you have chnaged the Action_Plan_Status on Action_Plan object.

Task is not related to that Action Plan record because we are not setting Related To ID.

For relating we need to add one more assignment.
Related To ID = [Action_Plan__c].Id
 
This was selected as the best answer
Rose FarnhamRose Farnham
Thank you OM!  That worked great. 
I have one more question for you.  I would like to update the subject with Action Plan Status changed to (the picklist value it was changed to). 
How to you combine a string and a field reference in the same field?

Thanks!
Om PrakashOm Prakash
Please change Subject Assignment to Formula. (Curremntly Subject is set to String)

and Formula = 
'Action Plan Status was changed to '  + Text([Action_Plan__c].Action_Plan_Status__c) + '  on ' + TEXT(TODAY() )

 
Rose FarnhamRose Farnham
Perfect!  Thanks for your help.
Om PrakashOm Prakash
Glad it worked! Thanks