+ Start a Discussion
Sitarama MurthySitarama Murthy 

Process builder error:Formula result is data type (Object), incompatible with expected data type (Text)

Hi All.

I have Process builder to Update the Contacts fields if check field is checked.
How the process starts:
1. Check box field (Which starts the PB) is checked/updated from other eloqua system, user who updates the this field is having different profile(not admin).
2. When the eloqua system try to update that checkbox field. PB runs and updates the other fields in Contact object.

but system update that checkbox i am getting below error as email. detailed log is not getting genarated
----------------------------------------------------------------------------------------------------------------------
Error element myDecision (FlowDecision).
Formula result is data type (Object), incompatible with expected data type (Text).


Flow Details
Flow Name: GDPR_Contact_Update
Type: Record Change Process
Version: 1
Status: Active
Org: ABC
Flow Interview Details
Interview Label: GDPR_Contact_Update-1_InterviewLabel
Current User: ELOQUA MARKETING (some ID)
Start time: 6/27/2018 9:00 AM
Duration: 0 seconds
How the Interview Started
ELOQUA MARKETING (Some ID) started the flow interview.
Some of this flow's variables were set when the interview started.
myVariable_old = 00300002ufXV7AAM
myVariable_current = 00300002ufXV7AAM
ASSIGNMENT: myVariable_waitStartTimeAssignment
{!myVariable_waitStartTimeVariable} Equals {!$Flow.CurrentDateTime}
Result
{!myVariable_waitStartTimeVariable} = "6/27/2018 9:00 AM"


Salesforce Error ID: 693755190-37274 (867155279)

-----------------------------------------------------------------------------
if any one faced the same issue please help me out how to debug this issue.

Thanks
Ram
Chandra@AtlantaChandra@Atlanta
Ram,

When the condition is true and you are populating the date field, make sure the return type is formula. let me know if I can help you further.

Thanks,
Chandra
(None of us is smarter than all of us)
Rahul.MishraRahul.Mishra
Hi Ram,

Issue is with formula which you have created to populate the field value, make sure that your formula returns the correct data type which field aceept. I mean if the field is of text type and you are populating the value in that field dynamically from formula then return type should also be text.
In your case, it looks like you are returning Object while expected is text.
Formula result is data type (Object), incompatible with expected data type (Text)

Mark solved if it does help you.